Make ASN1 code work again...
authorDr. Stephen Henson <steve@openssl.org>
Tue, 27 Apr 2004 18:33:40 +0000 (18:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 27 Apr 2004 18:33:40 +0000 (18:33 +0000)
crypto/asn1/tasn_dec.c

index 43e1db0..46df795 100644 (file)
@@ -389,7 +389,7 @@ int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
                        goto err;
                        }
 
-               if (!*pval && !!ASN1_item_ex_new(pval, it))
+               if (!*pval && !ASN1_item_ex_new(pval, it))
                        {
                        ASN1err(ASN1_F_ASN1_ITEM_EX_D2I,
                                ERR_R_NESTED_ASN1_ERROR);