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 /fuzz | |
parent | 7eb4c1eb50785c0b32f52e8a5bf20328b6baca34 (diff) | |
download | openssl-new-31ae516116343defd39d5b5ee800fa25eeab7638.tar.gz |
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 'fuzz')
-rw-r--r-- | fuzz/asn1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fuzz/asn1.c b/fuzz/asn1.c index 63d26f9804..0c6131580c 100644 --- a/fuzz/asn1.c +++ b/fuzz/asn1.c @@ -100,7 +100,9 @@ static ASN1_ITEM_EXP *item_type[] = { 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), @@ -180,7 +182,9 @@ static ASN1_ITEM_EXP *item_type[] = { ASN1_ITEM_ref(X509_REVOKED), ASN1_ITEM_ref(X509_SIG), ASN1_ITEM_ref(X509_VAL), +#if OPENSSL_API_COMPAT < 0x10200000L ASN1_ITEM_ref(ZLONG), +#endif ASN1_ITEM_ref(INT32), ASN1_ITEM_ref(ZINT32), ASN1_ITEM_ref(UINT32), |