summaryrefslogtreecommitdiffstats
path: root/crypto/des/rand_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/rand_key.c')
-rw-r--r--crypto/des/rand_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/rand_key.c b/crypto/des/rand_key.c
index 3921aaf005..09d7e4cf14 100644
--- a/crypto/des/rand_key.c
+++ b/crypto/des/rand_key.c
@@ -14,7 +14,7 @@ int DES_random_key(DES_cblock *ret)
{
do {
if (RAND_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1)
- return (0);
+ return 0;
} while (DES_is_weak_key(ret));
DES_set_odd_parity(ret);
return 1;