X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fasn1%2Fd2i_dhp.c;h=635ae829db3febf265f1d63b5e21885eb1f8ca82;hb=130832150c1313824868b154cccda3ace88fa950;hp=a077211a4c190c6a7b5a415f2f0d3080409ec141;hpb=f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee;p=openssl.git diff --git a/crypto/asn1/d2i_dhp.c b/crypto/asn1/d2i_dhp.c index a077211a4c..635ae829db 100644 --- a/crypto/asn1/d2i_dhp.c +++ b/crypto/asn1/d2i_dhp.c @@ -86,7 +86,7 @@ DH *d2i_DHparams(DH **a, unsigned char **pp, long length) ret->length=(int)v; } - ASN1_BIT_STRING_free(bs); + M_ASN1_BIT_STRING_free(bs); M_ASN1_D2I_Finish_2(a); @@ -95,7 +95,7 @@ err_bn: err: ASN1err(ASN1_F_D2I_DHPARAMS,i); if ((ret != NULL) && ((a == NULL) || (*a != ret))) DH_free(ret); - if (bs != NULL) ASN1_BIT_STRING_free(bs); + if (bs != NULL) M_ASN1_BIT_STRING_free(bs); return(NULL); } #endif