Make sure that bs is not getting free'd again.

Reported by Robert Eiglmaier <robert.eiglmaier@ixos.de>
This commit is contained in:
Richard Levitte 2000-06-15 11:10:15 +00:00
parent 1e55286996
commit f20ee31477

View 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: