[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13008: Note an unfreed cert (in tor/trunk: . src/common)



Author: nickm
Date: 2007-12-31 16:12:14 -0500 (Mon, 31 Dec 2007)
New Revision: 13008

Modified:
   tor/trunk/
   tor/trunk/src/common/tortls.c
Log:
 r15767@tombo:  nickm | 2007-12-31 16:06:27 -0500
 Note an unfreed cert



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r15767] on d9e39d38-0f13-419c-a857-e10a0ce2aa0c

Modified: tor/trunk/src/common/tortls.c
===================================================================
--- tor/trunk/src/common/tortls.c	2007-12-31 20:38:23 UTC (rev 13007)
+++ tor/trunk/src/common/tortls.c	2007-12-31 21:12:14 UTC (rev 13008)
@@ -511,7 +511,8 @@
   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 */