summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-31 21:12:14 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-31 21:12:14 +0000
commit71e117e444af3cfc01f417c40c55c77fcf9ca48c (patch)
tree9d2f88db64d3975731d1516f3f6c077e2d517ea5 /src/common/tortls.c
parent46a27c2f93cfc284ad64b21b7e1b179499b23bff (diff)
downloadtor-71e117e444af3cfc01f417c40c55c77fcf9ca48c.tar.gz
tor-71e117e444af3cfc01f417c40c55c77fcf9ca48c.zip
r15767@tombo: nickm | 2007-12-31 16:06:27 -0500
Note an unfreed cert svn:r13008
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 94abe24d9c..6f463f6214 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -511,7 +511,8 @@ tor_tls_context_new(crypto_pk_env_t *identity, const char *nickname,
if (idcert) {
X509_STORE *s = SSL_CTX_get_cert_store(result->ctx);
tor_assert(s);
- X509_STORE_add_cert(s, idcert);
+ X509_STORE_add_cert(s, idcert); /*XXXX020 This cert seems not to get
+ * freed. Fix that! */
}
#endif
idcert=NULL; /* The context now owns the reference to idcert */