diff options
author | Ezra Peisach <epeisach@mit.edu> | 1997-07-22 00:29:16 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1997-07-22 00:29:16 +0000 |
commit | 1eda083efe0b1c9f8db5c559651dbab9ae09faa2 (patch) | |
tree | e6889bef901d5cf441ba13b7d677687327c6b1e2 /src/lib/gssapi/generic/gssapi_generic.c | |
parent | 629f941f7a440a9b6ef7490dd2030dbba7bd0038 (diff) | |
download | krb5-1eda083efe0b1c9f8db5c559651dbab9ae09faa2.tar.gz krb5-1eda083efe0b1c9f8db5c559651dbab9ae09faa2.tar.xz krb5-1eda083efe0b1c9f8db5c559651dbab9ae09faa2.zip |
* error_message.c (error_message): Mask error code with
ERRCODE_MASK to handle case where 32bit ints are zero
filled in the gssapi layer.
* error_table.h: Define ERRCODE_MAX, the maximum allowed error
code (32bits).
I am taking the draconian outlook that the com_err library was always
intending to define the error as a 32 bit value. I taken this approach
instead of making the errcode_t machine specific as the com_er
generated header files would then need be machine specific as
well. (error codes are declared as say -4353L explicitly).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10122 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/generic/gssapi_generic.c')
0 files changed, 0 insertions, 0 deletions