Backwards-compatibility subject to OPENSSL_API_COMPAT
[openssl.git] / include / openssl / engine.h
index 34d7fed52ed521ef916559297bb5f31030d1d376..300ff26b084c70fea3a41b364ff4f11075a8f922 100644 (file)
@@ -71,7 +71,7 @@
 #  error ENGINE is disabled.
 # endif
 
-# ifdef OPENSSL_USE_DEPRECATED
+# if OPENSSL_API_COMPAT < 0x10100000L
 #  include <openssl/bn.h>
 #  ifndef OPENSSL_NO_RSA
 #   include <openssl/rsa.h>