]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Correct an error in kdb.h comments
authorGreg Hudson <ghudson@mit.edu>
Mon, 5 Aug 2013 18:12:39 +0000 (14:12 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Aug 2013 18:12:39 +0000 (14:12 -0400)
The check_policy functions return com_err codes, not protocol codes,
so use a com_err constant in the example.

src/include/kdb.h

index c08c8d5bee5646bcc4a44a85cf8df9bdfe2643d0..bc01976f26462712cfa77ff01a2eca89e7b6ce47 100644 (file)
@@ -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,