projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3990c92
)
fix reversed comparison on key equality
author
John Kohl
<jtkohl@mit.edu>
Tue, 13 Feb 1990 16:50:39 +0000
(16:50 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 13 Feb 1990 16:50:39 +0000
(16:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@359
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kdb/verify_mky.c
patch
|
blob
|
history
diff --git
a/src/lib/kdb/verify_mky.c
b/src/lib/kdb/verify_mky.c
index 2c5140ed5ee20a82a6e0017365a629f39a2cc599..24ee7b0d5ac4cd92e4bdb38caa4a82d4d2a010e2 100644
(file)
--- a/
src/lib/kdb/verify_mky.c
+++ b/
src/lib/kdb/verify_mky.c
@@
-62,7
+62,7
@@
krb5_encrypt_block *eblock;
(void) (*eblock->crypto_entry->finish_key)(eblock);
return retval;
}
- if (
!
bcmp((char *)mkey->contents, (char *)tempkey.contents,
+ if (bcmp((char *)mkey->contents, (char *)tempkey.contents,
mkey->length)) {
retval = KRB5_KDB_BADMASTERKEY;
(void) (*eblock->crypto_entry->finish_key)(eblock);