mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 06:35:28 +01:00
r15767@tombo: nickm | 2007-12-31 16:06:27 -0500
Note an unfreed cert svn:r13008
This commit is contained in:
parent
46a27c2f93
commit
71e117e444
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue