From 00db8c60aaecd2ff9b0a5d9fd10c7771a1e1a73e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 5 Nov 2019 17:34:09 +0100 Subject: Update source files for pre-3.0 deprecation Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/10364) --- crypto/rand/rand_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/rand/rand_lib.c') diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 3508cfb25c..c6b4ad3ae4 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -896,7 +896,7 @@ int RAND_bytes(unsigned char *buf, int num) return rand_bytes_ex(NULL, buf, num); } -#if !OPENSSL_API_1_1_0 && !defined(FIPS_MODE) +#if !defined(OPENSSL_NO_DEPRECATED_1_1_0) && !defined(FIPS_MODE) int RAND_pseudo_bytes(unsigned char *buf, int num) { const RAND_METHOD *meth = RAND_get_rand_method(); -- cgit v1.2.3