Make sure that bs is not getting free'd again.
authorRichard Levitte <levitte@openssl.org>
Thu, 15 Jun 2000 11:10:15 +0000 (11:10 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Jun 2000 11:10:15 +0000 (11:10 +0000)
Reported by Robert Eiglmaier <robert.eiglmaier@ixos.de>

crypto/asn1/d2i_s_pr.c

index dec2a2ebd3857ff2cbbdce10d0a37f198e7b993c..55d5802d702f220cb97fb225b88fab8093ddb95b 100644 (file)
@@ -92,6 +92,7 @@ DSA *d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length)
                == NULL) goto err_bn;
 
        M_ASN1_INTEGER_free(bs);
+       bs = NULL;
 
        M_ASN1_D2I_Finish_2(a);
 err_bn: