aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ts
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-04-22 12:38:26 +0100
committerBen Laurie <ben@links.org>2014-04-22 16:58:43 +0100
commit4ba5e63bfd5c290ebde962af87588d503f3796b0 (patch)
tree11d337237c60fccfeec90ef018480ccdb6086a5e /crypto/ts
parent9330a85e0499f10752434c451977d65d80d8de19 (diff)
downloadopenssl-4ba5e63bfd5c290ebde962af87588d503f3796b0.tar.gz
Fix double frees.
Diffstat (limited to 'crypto/ts')
-rw-r--r--crypto/ts/ts_rsp_verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c
index afe16afbe4..3c7f816d12 100644
--- a/crypto/ts/ts_rsp_verify.c
+++ b/crypto/ts/ts_rsp_verify.c
@@ -629,6 +629,7 @@ static int TS_compute_imprint(BIO *data, TS_TST_INFO *tst_info,
X509_ALGOR_free(*md_alg);
OPENSSL_free(*imprint);
*imprint_len = 0;
+ *imprint = 0;
return 0;
}