Copy and paste error... bn_add_part_words() should of course call
[openssl.git] / crypto / asn1 / d2i_r_pr.c
index 3d2dd656375ea0f50403fe4f1733ebda5b2d6cf7..46037a04e639b2c950735620137396f1152fa348 100644 (file)
@@ -108,6 +108,7 @@ RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length)
                goto err_bn;
 
        M_ASN1_INTEGER_free(bs);
+       bs = NULL;
 
        M_ASN1_D2I_Finish_2(a);
 err_bn: