Add OPENSSL_NO_EC wrapper
[openssl.git] / fuzz / asn1.c
index 4d22eeb..5d871cd 100644 (file)
@@ -30,8 +30,10 @@ static ASN1_ITEM_EXP *item_type[] = {
     ASN1_ITEM_ref(ASN1_SEQUENCE),
     ASN1_ITEM_ref(AUTHORITY_INFO_ACCESS),
     ASN1_ITEM_ref(BIGNUM),
+#ifndef OPENSSL_NO_EC
     ASN1_ITEM_ref(ECPARAMETERS),
     ASN1_ITEM_ref(ECPKPARAMETERS),
+#endif
     ASN1_ITEM_ref(GENERAL_NAME),
     ASN1_ITEM_ref(GENERAL_SUBTREE),
     ASN1_ITEM_ref(NAME_CONSTRAINTS),