summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorZhanna Tsitkov <tsitkova@mit.edu>2013-09-19 13:11:15 -0400
committerZhanna Tsitkov <tsitkova@mit.edu>2013-09-23 12:06:47 -0400
commit58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe (patch)
tree490308667d2787d1d0a28ebb3d8842a90367c5ed /src/include
parent66b141745fc56bbdb7b738582ba7e1cce1e503c8 (diff)
downloadkrb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.tar.gz
krb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.tar.xz
krb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.zip
Err codes in KRB_ERROR protocol messages are < 128
If the error code is out of [0,127] range, assign it to KRB_ERR_GENERIC. This fix is to correct the previous behavior with [0,128] range. For more information see krb5_err.et
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index f84fbd8359..d5814d9bb0 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -381,6 +381,7 @@ typedef INT64_TYPE krb5_int64;
not find a KDC */
#define KRB_AP_ERR_IAKERB_KDC_NO_RESPONSE 86 /* The KDC did not respond
to the IAKERB proxy */
+#define KRB_ERR_MAX 127 /* err table base max offset for protocol err codes */
/*
* A null-terminated array of this structure is returned by the KDC as