mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
r17717@catbus: nickm | 2008-01-21 17:09:23 -0500
Fix certificate leak. svn:r13218
This commit is contained in:
parent
a49f14d0d4
commit
ddb753f87a
@ -898,6 +898,8 @@ tor_tls_handshake(tor_tls_t *tls)
|
||||
log_notice(LD_NET, "I think I got a v2 handshake!");
|
||||
tls->wasV2Handshake = 1;
|
||||
}
|
||||
if (cert)
|
||||
X509_free(cert);
|
||||
#endif
|
||||
SSL_set_cipher_list(tls->ssl, SERVER_CIPHER_LIST);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user