projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66ab5df
)
krb5_error.error is an unsigned type; error.error < 0 is always false
author
John Carr
<jfc@mit.edu>
Wed, 3 Apr 1991 14:15:38 +0000
(14:15 +0000)
committer
John Carr
<jfc@mit.edu>
Wed, 3 Apr 1991 14:15:38 +0000
(14:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1984
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/recvauth.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/recvauth.c
b/src/lib/krb5/krb/recvauth.c
index fd391eb7a5517732bcb505a18d1346ecd53dc187..57db65364133eac6c3bcc57b91ba8e7c776f421d 100644
(file)
--- a/
src/lib/krb5/krb/recvauth.c
+++ b/
src/lib/krb5/krb/recvauth.c
@@
-202,7
+202,7
@@
krb5_recvauth(/* IN */
krb5_us_timeofday(&error.stime, &error.susec);
error.server = server;
error.error = problem - ERROR_TABLE_BASE_krb5;
- if (error.error
< 0 || error.error
> 127)
+ if (error.error > 127)
error.error = KRB_ERR_GENERIC;
message = error_message(problem);
error.text.length = strlen(message) + 1;