diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-05 17:38:24 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-07 11:37:25 +0100 |
commit | 686923b19824546f5c76a012e41e1fc7141ae712 (patch) | |
tree | 64bad929e23c7e3f2bb18c517cc3c607b10f8c56 /include | |
parent | a3844061df7d0e588d018370efd1d309f856e6f3 (diff) |
include/openssl/asn1.h: Remove version dependent inclusion of <openssl/bn.h>
It's unclear if this dependency was because ASN1 functions that use
BIGNUM didn't exist before 1.1.0, or if it was a mistaken attempt at
deprecation. Since there exist ASN1 functions using BIGNUM now, it
seems pointless to keep that check, and unnecessarily including
<openssl/bn.h> should be harmless either way.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10364)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index 507731a4fc..1aa4b8300c 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -25,9 +25,7 @@ # include <openssl/symhacks.h> # include <openssl/types.h> -# if !OPENSSL_API_1_1_0 -# include <openssl/bn.h> -# endif +# include <openssl/bn.h> # ifdef OPENSSL_BUILD_SHLIBCRYPTO # undef OPENSSL_EXTERN |