diff options
Diffstat (limited to 'src/lib/libcrypto/pem/pem_lib.c')
-rw-r--r-- | src/lib/libcrypto/pem/pem_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/libcrypto/pem/pem_lib.c b/src/lib/libcrypto/pem/pem_lib.c index 74baa2ec1c..0dfa7c7376 100644 --- a/src/lib/libcrypto/pem/pem_lib.c +++ b/src/lib/libcrypto/pem/pem_lib.c | |||
@@ -384,7 +384,6 @@ int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, | |||
384 | } | 384 | } |
385 | kstr=(unsigned char *)buf; | 385 | kstr=(unsigned char *)buf; |
386 | } | 386 | } |
387 | RAND_add(data,i,0);/* put in the RSA key. */ | ||
388 | OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); | 387 | OPENSSL_assert(enc->iv_len <= (int)sizeof(iv)); |
389 | if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ | 388 | if (RAND_pseudo_bytes(iv,enc->iv_len) < 0) /* Generate a salt */ |
390 | goto err; | 389 | goto err; |