Deprecate the recursive includes of bn.h from various API headers (asn1.h,
[openssl.git] / crypto / ecdsa / ecdsa.h
index a57ba0f14f2065d227d9f380da0ade762c829595..e6081bb2af52ad7a27ee52899dd2474d92adaec7 100644 (file)
 #error ECDSA is disabled.
 #endif
 
-#include <openssl/bn.h>
 #include <openssl/ec.h>
 #include <openssl/ossl_typ.h>
+#ifndef OPENSSL_NO_DEPRECATED
+#include <openssl/bn.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {