aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/enc_writ.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/enc_writ.c')
-rw-r--r--crypto/des/enc_writ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/enc_writ.c b/crypto/des/enc_writ.c
index 8ded146f8b..892f15e2d7 100644
--- a/crypto/des/enc_writ.c
+++ b/crypto/des/enc_writ.c
@@ -130,7 +130,7 @@ int des_enc_write(int fd, const void *_buf, int len,
{
cp=shortbuf;
memcpy(shortbuf,buf,len);
- RAND_bytes(shortbuf+len, 8-len);
+ RAND_pseudo_bytes(shortbuf+len, 8-len);
rnum=8;
}
else