projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52973dc
)
use memcpm rather than bcmp
author
John Kohl
<jtkohl@mit.edu>
Thu, 8 Nov 1990 15:21:10 +0000
(15:21 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Thu, 8 Nov 1990 15:21:10 +0000
(15:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1428
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/des/weak_key.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/des/weak_key.c
b/src/lib/crypto/des/weak_key.c
index 6ebf070b6ba5755e81769966e8473625278f6084..6643b2d7a33af936a8f62d96f9cfa42f3d65f654 100644
(file)
--- a/
src/lib/crypto/des/weak_key.c
+++ b/
src/lib/crypto/des/weak_key.c
@@
-68,7
+68,7
@@
mit_des_is_weak_key(key)
mit_des_cblock *weak_p = weak;
for (i = 0; i < (sizeof(weak)/sizeof(mit_des_cblock)); i++) {
- if (!
b
cmp((char *)weak_p++,(char *)key,sizeof(mit_des_cblock)))
+ if (!
mem
cmp((char *)weak_p++,(char *)key,sizeof(mit_des_cblock)))
return 1;
}