diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/asn1/a_sign.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_sign.c b/src/lib/libcrypto/asn1/a_sign.c index 40c6809669..2705a0402e 100644 --- a/src/lib/libcrypto/asn1/a_sign.c +++ b/src/lib/libcrypto/asn1/a_sign.c | |||
@@ -218,8 +218,7 @@ ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, | |||
218 | ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ERR_R_EVP_LIB); | 218 | ASN1err(ASN1_F_ASN1_ITEM_SIGN_CTX, ERR_R_EVP_LIB); |
219 | goto err; | 219 | goto err; |
220 | } | 220 | } |
221 | if (signature->data != NULL) | 221 | free(signature->data); |
222 | free(signature->data); | ||
223 | signature->data = buf_out; | 222 | signature->data = buf_out; |
224 | buf_out = NULL; | 223 | buf_out = NULL; |
225 | signature->length = outl; | 224 | signature->length = outl; |