diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/d2i_dsap.c')
-rw-r--r-- | src/lib/libcrypto/asn1/d2i_dsap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/d2i_dsap.c b/src/lib/libcrypto/asn1/d2i_dsap.c index cdd7136f51..6d1c297133 100644 --- a/src/lib/libcrypto/asn1/d2i_dsap.c +++ b/src/lib/libcrypto/asn1/d2i_dsap.c | |||
@@ -83,7 +83,7 @@ DSA *d2i_DSAparams(DSA **a, unsigned char **pp, long length) | |||
83 | M_ASN1_D2I_get(bs,d2i_ASN1_INTEGER); | 83 | M_ASN1_D2I_get(bs,d2i_ASN1_INTEGER); |
84 | if ((ret->g=BN_bin2bn(bs->data,bs->length,ret->g)) == NULL) goto err_bn; | 84 | if ((ret->g=BN_bin2bn(bs->data,bs->length,ret->g)) == NULL) goto err_bn; |
85 | 85 | ||
86 | ASN1_BIT_STRING_free(bs); | 86 | M_ASN1_BIT_STRING_free(bs); |
87 | 87 | ||
88 | M_ASN1_D2I_Finish_2(a); | 88 | M_ASN1_D2I_Finish_2(a); |
89 | 89 | ||
@@ -92,7 +92,7 @@ err_bn: | |||
92 | err: | 92 | err: |
93 | ASN1err(ASN1_F_D2I_DSAPARAMS,i); | 93 | ASN1err(ASN1_F_D2I_DSAPARAMS,i); |
94 | if ((ret != NULL) && ((a == NULL) || (*a != ret))) DSA_free(ret); | 94 | if ((ret != NULL) && ((a == NULL) || (*a != ret))) DSA_free(ret); |
95 | if (bs != NULL) ASN1_BIT_STRING_free(bs); | 95 | if (bs != NULL) M_ASN1_BIT_STRING_free(bs); |
96 | return(NULL); | 96 | return(NULL); |
97 | } | 97 | } |
98 | #endif | 98 | #endif |