diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-04 23:00:33 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-07 20:53:18 -0500 |
commit | 98186eb4e4aef6262ed6b0f499348defa2c26893 (patch) | |
tree | 38ddc0aea1be4b31a4a48d74dc307ad30288af47 /include/openssl/asn1.h | |
parent | cddd424a5bda94e238e4ff06c0efc80cff3b07d1 (diff) | |
download | openssl-98186eb4e4aef6262ed6b0f499348defa2c26893.tar.gz |
Backwards-compatibility subject to OPENSSL_API_COMPAT
Provide backwards-compatiblity for functions, macros and include
files if OPENSSL_API_COMPAT is either not defined or defined less
than the version number of the release in which the feature was
deprecated.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include/openssl/asn1.h')
-rw-r--r-- | include/openssl/asn1.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index e80b376e01..627f725ac0 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -61,6 +61,7 @@ # include <time.h> # include <openssl/e_os2.h> +# include <openssl/opensslconf.h> # include <openssl/bio.h> # include <openssl/stack.h> # include <openssl/safestack.h> @@ -68,7 +69,7 @@ # include <openssl/symhacks.h> # include <openssl/ossl_typ.h> -# ifdef OPENSSL_USE_DEPRECATED +# if OPENSSL_API_COMPAT < 0x10100000L # include <openssl/bn.h> # endif |