Update source files for pre-3.0 deprecation
[openssl.git] / crypto / rand / rand_lib.c
index 3508cfb25c5fa3758e845c0b2e022c94c3751dbf..c6b4ad3ae4d40c7a5a9bd9701dc8a149a654e55f 100644 (file)
@@ -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();