projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Since return is inconsistent, I removed unnecessary parentheses and
[openssl.git]
/
crypto
/
des
/
set_key.c
diff --git
a/crypto/des/set_key.c
b/crypto/des/set_key.c
index cd3ec67ecb915f0c8912c8f166b9b11d4f36addb..91b83ee3fe92fe8e03867846c1ed2ee2049feff2 100644
(file)
--- a/
crypto/des/set_key.c
+++ b/
crypto/des/set_key.c
@@
-67,7
+67,7
@@
int DES_check_key_parity(const_DES_cblock *key)
if ((*key)[i] != odd_parity[(*key)[i]])
return (0);
}
- return
(1)
;
+ return
1
;
}
/*-
@@
-114,7
+114,7
@@
int DES_is_weak_key(const_DES_cblock *key)
* 97/03/18
*/
if (memcmp(weak_keys[i], key, sizeof(DES_cblock)) == 0)
- return
(1)
;
+ return
1
;
return (0);
}