diff options
author | Zhanna Tsitkov <tsitkova@mit.edu> | 2013-09-19 13:11:15 -0400 |
---|---|---|
committer | Zhanna Tsitkov <tsitkova@mit.edu> | 2013-09-23 12:06:47 -0400 |
commit | 58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe (patch) | |
tree | 490308667d2787d1d0a28ebb3d8842a90367c5ed /src/include | |
parent | 66b141745fc56bbdb7b738582ba7e1cce1e503c8 (diff) | |
download | krb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.zip krb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.tar.gz krb5-58ea3bdbfe6330225a2d58dfb00ccf1ad70617fe.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index f84fbd8..d5814d9 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 |