summaryrefslogtreecommitdiff
path: root/include/openssl/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/rand.h')
-rw-r--r--include/openssl/rand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/rand.h b/include/openssl/rand.h
index 38a2a2718f..0d64711f3e 100644
--- a/include/openssl/rand.h
+++ b/include/openssl/rand.h
@@ -36,7 +36,7 @@ int RAND_set_rand_engine(ENGINE *engine);
RAND_METHOD *RAND_OpenSSL(void);
-# if OPENSSL_API_COMPAT < 0x10100000L
+# if !OPENSSL_API_1_1_0
# define RAND_cleanup() while(0) continue
# endif
int RAND_bytes(unsigned char *buf, int num);