diff options
Diffstat (limited to 'crypto/ec/ec.h')
-rw-r--r-- | crypto/ec/ec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index db15a81938..b3267df62b 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -78,9 +78,11 @@ #error EC is disabled. #endif -#include <openssl/bn.h> #include <openssl/asn1.h> #include <openssl/symhacks.h> +#ifndef OPENSSL_NO_DEPRECATED +#include <openssl/bn.h> +#endif #ifdef __cplusplus extern "C" { |