diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-18 10:20:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-18 10:20:14 -0500 |
commit | 2e99371eb9886559814c3c8b7e4ba52e474bb520 (patch) | |
tree | 93f1dc9af37ab29f574bb04e6f2aba605564f257 /src | |
parent | 9e2c4ee557a499a0fa6b12f5912cef4fccc46e5a (diff) | |
download | tor-2e99371eb9886559814c3c8b7e4ba52e474bb520.tar.gz tor-2e99371eb9886559814c3c8b7e4ba52e474bb520.zip |
Looks like I added one X509_free too many :(
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_tortls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index 1bb70ada90..709c8dbd77 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -1466,11 +1466,11 @@ test_tortls_try_to_extract_certs_from_tls(void *ignored) sk_X509_push(sess->cert_chain, c1); sk_X509_push(sess->cert_chain, c2); + try_to_extract_certs_from_tls(LOG_WARN, tls, &cert, &id_cert); tt_assert(cert == c1); tt_assert(id_cert); X509_free(cert); /* decrease refcnt */ - X509_free(id_cert); /* decrease refcnt */ done: sk_X509_free(sess->cert_chain); |