Commit 71e117e4 authored by Nick Mathewson's avatar Nick Mathewson 🐕
Browse files

r15767@tombo: nickm | 2007-12-31 16:06:27 -0500

 Note an unfreed cert

parent 46a27c2f
......@@ -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);
X509_STORE_add_cert(s, idcert);
X509_STORE_add_cert(s, idcert); /*XXXX020 This cert seems not to get
* freed. Fix that! */
idcert=NULL; /* The context now owns the reference to idcert */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment