Skip to content

Commit

Permalink
Correct an error in kdb.h comments
Browse files Browse the repository at this point in the history
The check_policy functions return com_err codes, not protocol codes,
so use a com_err constant in the example.
  • Loading branch information
greghudson committed Aug 5, 2013
1 parent 7963a95 commit 306d3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/kdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 306d3e4

Please sign in to comment.