can't actually do this. cause unknown.
authortedu <tedu@openbsd.org>
Sat, 19 Apr 2014 16:12:39 +0000 (16:12 +0000)
committertedu <tedu@openbsd.org>
Sat, 19 Apr 2014 16:12:39 +0000 (16:12 +0000)
lib/libcrypto/asn1/tasn_dec.c
lib/libssl/src/crypto/asn1/tasn_dec.c

index be37ac0..66f0398 100644 (file)
@@ -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;
        }
index be37ac0..66f0398 100644 (file)
@@ -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;
        }