From: Dr. Stephen Henson Date: Tue, 5 Jul 2016 22:24:26 +0000 (+0100) Subject: Don't indicate errors during initial adb decode. X-Git-Tag: OpenSSL_1_0_2i~117 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9bda72880113b2b2262d290b23bdd1d3b19ff5b3;p=oweals%2Fopenssl.git Don't indicate errors during initial adb decode. Reviewed-by: Tim Hudson (cherry picked from commit b385889640517531a9cfeb672b15db7089b1bbb8) --- diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index 6b01f65357..d25402730b 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -400,7 +400,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, if (tt->flags & ASN1_TFLG_ADB_MASK) { const ASN1_TEMPLATE *seqtt; ASN1_VALUE **pseqval; - seqtt = asn1_do_adb(pval, tt, 1); + seqtt = asn1_do_adb(pval, tt, 0); if (seqtt == NULL) continue; pseqval = asn1_get_field_ptr(pval, seqtt);