summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-08-05 14:12:39 -0400
committerGreg Hudson <ghudson@mit.edu>2013-08-05 14:12:39 -0400
commit306d3e42fc39b16909b8320773e0fcd3cfd9a4e1 (patch)
tree2e23af7f4e2925f48a4ec3ba2ed4509eec7981ad /src/include
parent7963a951f326c854d2faa5f26827407632c2b496 (diff)
downloadkrb5-306d3e42fc39b16909b8320773e0fcd3cfd9a4e1.tar.gz
krb5-306d3e42fc39b16909b8320773e0fcd3cfd9a4e1.tar.xz
krb5-306d3e42fc39b16909b8320773e0fcd3cfd9a4e1.zip
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/kdb.h b/src/include/kdb.h
index c08c8d5bee..bc01976f26 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,