Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
71e117e4
Commit
71e117e4
authored
Dec 31, 2007
by
Nick Mathewson
🐕
Browse files
r15767@tombo: nickm | 2007-12-31 16:06:27 -0500
Note an unfreed cert svn:r13008
parent
46a27c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common/tortls.c
View file @
71e117e4
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment