Refactor the computation of API version limits
[openssl.git] / include / openssl / rand_drbg.h
index 237fe4520654a93016dce3e472f06fd803006d99..a5e91e30fd29c5311c0d81df08cb0bd4a047b430 100644 (file)
@@ -36,7 +36,7 @@
 /* Used by RAND_DRBG_set_defaults() to set the private DRBG type and flags. */
 # define RAND_DRBG_FLAG_PRIVATE              0x10
 
-# if OPENSSL_API_COMPAT < 0x30000000L
+# if !OPENSSL_API_3
 /* This #define was replaced by an internal constant and should not be used. */
 #  define RAND_DRBG_USED_FLAGS  (RAND_DRBG_FLAG_CTR_NO_DF)
 # endif