diff options
author | Richard Levitte <levitte@openssl.org> | 2017-04-05 13:21:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-10 12:11:00 +0200 |
commit | 31ae516116343defd39d5b5ee800fa25eeab7638 (patch) | |
tree | d389b7dec428d7132d050fe3d2159a7459a88683 /crypto/asn1 | |
parent | 7eb4c1eb50785c0b32f52e8a5bf20328b6baca34 (diff) |
Act on deprecation of LONG and ZLONG, step 1
Don't compile code that still uses LONG when it's deprecated
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3126)
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/asn1_item_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/asn1_item_list.h b/crypto/asn1/asn1_item_list.h index b753d7198b..27608b788c 100644 --- a/crypto/asn1/asn1_item_list.h +++ b/crypto/asn1/asn1_item_list.h @@ -78,7 +78,9 @@ static ASN1_ITEM_EXP *asn1_item_list[] = { ASN1_ITEM_ref(IPAddressRange), #endif ASN1_ITEM_ref(ISSUING_DIST_POINT), +#if OPENSSL_API_COMPAT < 0x10200000L ASN1_ITEM_ref(LONG), +#endif ASN1_ITEM_ref(NAME_CONSTRAINTS), ASN1_ITEM_ref(NETSCAPE_CERT_SEQUENCE), ASN1_ITEM_ref(NETSCAPE_SPKAC), @@ -159,7 +161,9 @@ static ASN1_ITEM_EXP *asn1_item_list[] = { ASN1_ITEM_ref(X509_SIG), ASN1_ITEM_ref(X509_VAL), ASN1_ITEM_ref(X509), +#if OPENSSL_API_COMPAT < 0x10200000L ASN1_ITEM_ref(ZLONG), +#endif ASN1_ITEM_ref(INT32), ASN1_ITEM_ref(UINT32), ASN1_ITEM_ref(ZINT32), |