diff options
Diffstat (limited to 'crypto/des/des.c')
-rw-r--r-- | crypto/des/des.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/des.c b/crypto/des/des.c index 586aed7237..d7374382d8 100644 --- a/crypto/des/des.c +++ b/crypto/des/des.c @@ -456,7 +456,7 @@ void doencryption(void) len = l - rem; if (feof(DES_IN)) { for (i = 7 - rem; i > 0; i--) { - if (RAND_pseudo_bytes(buf + l++, 1) < 0) + if (RAND_bytes(buf + l++, 1) <= 0) goto problems; } buf[l++] = rem; |