summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */