projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deprecate the recursive includes of bn.h from various API headers (asn1.h,
[openssl.git]
/
crypto
/
ecdsa
/
ecdsa.h
diff --git
a/crypto/ecdsa/ecdsa.h
b/crypto/ecdsa/ecdsa.h
index a57ba0f14f2065d227d9f380da0ade762c829595..e6081bb2af52ad7a27ee52899dd2474d92adaec7 100644
(file)
--- a/
crypto/ecdsa/ecdsa.h
+++ b/
crypto/ecdsa/ecdsa.h
@@
-65,9
+65,11
@@
#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" {