util/domd: harmonize with compiler detection in Configure.
[oweals/openssl.git] / crypto / des / enc_writ.c
index bfaabde516ae5519c31d97b7eebb82a28e3d3346..c2aaa8e98ca230f3147fb15a799a20728bc05ee1 100644 (file)
@@ -135,7 +135,7 @@ int DES_enc_write(int fd, const void *_buf, int len,
     if (len < 8) {
         cp = shortbuf;
         memcpy(shortbuf, buf, len);
-        if (RAND_pseudo_bytes(shortbuf + len, 8 - len) < 0) {
+        if (RAND_bytes(shortbuf + len, 8 - len) <= 0) {
             return -1;
         }
         rnum = 8;