From: tedu Date: Sat, 19 Apr 2014 16:12:39 +0000 (+0000) Subject: can't actually do this. cause unknown. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ebbaba8a118c8ecb043c03b843e016523c952b5;p=openbsd can't actually do this. cause unknown. --- diff --git a/lib/libcrypto/asn1/tasn_dec.c b/lib/libcrypto/asn1/tasn_dec.c index be37ac0c966..66f039806e9 100644 --- a/lib/libcrypto/asn1/tasn_dec.c +++ b/lib/libcrypto/asn1/tasn_dec.c @@ -173,7 +173,7 @@ ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, return 0; /* always start fresh */ - if (*pval) { + if (0 && *pval) { ASN1_item_ex_free(pval, it); *pval = NULL; } diff --git a/lib/libssl/src/crypto/asn1/tasn_dec.c b/lib/libssl/src/crypto/asn1/tasn_dec.c index be37ac0c966..66f039806e9 100644 --- a/lib/libssl/src/crypto/asn1/tasn_dec.c +++ b/lib/libssl/src/crypto/asn1/tasn_dec.c @@ -173,7 +173,7 @@ ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, return 0; /* always start fresh */ - if (*pval) { + if (0 && *pval) { ASN1_item_ex_free(pval, it); *pval = NULL; }