krb5 commit: Correct an error in kdb.h comments

Greg Hudson ghudson at MIT.EDU
Mon Aug 5 14:23:15 EDT 2013


https://github.com/krb5/krb5/commit/306d3e42fc39b16909b8320773e0fcd3cfd9a4e1
commit 306d3e42fc39b16909b8320773e0fcd3cfd9a4e1
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Aug 5 14:12:39 2013 -0400

    Correct an error in kdb.h comments
    
    The check_policy functions return com_err codes, not protocol codes,
    so use a com_err constant in the example.

 src/include/kdb.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/kdb.h b/src/include/kdb.h
index c08c8d5..bc01976 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -1276,7 +1276,7 @@ typedef struct _kdb_vftabl {
      *   - Place a short string literal into *status.
      *   - If desired, place data into e_data.  Any data placed here will be
      *     freed by the caller using the standard free function.
-     *   - Return an appropriate error (such as KDC_ERR_POLICY).
+     *   - Return an appropriate error (such as KRB5KDC_ERR_POLICY).
      */
     krb5_error_code (*check_policy_as)(krb5_context kcontext,
                                        krb5_kdc_req *request,
@@ -1293,7 +1293,7 @@ typedef struct _kdb_vftabl {
      *   - Place a short string literal into *status.
      *   - If desired, place data into e_data.  Any data placed here will be
      *     freed by the caller using the standard free function.
-     *   - Return an appropriate error (such as KDC_ERR_POLICY).
+     *   - Return an appropriate error (such as KRB5KDC_ERR_POLICY).
      * The input parameter ticket contains the TGT used in the TGS request.
      */
     krb5_error_code (*check_policy_tgs)(krb5_context kcontext,


More information about the cvs-krb5 mailing list