mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
r15155@tombo: nickm | 2007-12-05 11:11:14 -0500
Add a missing "not" to check of whether to use revised handshake. svn:r12678
This commit is contained in:
parent
2d52336b60
commit
29045d21b3
@ -612,7 +612,7 @@ connection_tls_continue_handshake(or_connection_t *conn)
|
||||
tor_tls_err_to_string(result));
|
||||
return -1;
|
||||
case TOR_TLS_DONE:
|
||||
if (tor_tls_used_v1_handshake(conn->tls)) {
|
||||
if (! tor_tls_used_v1_handshake(conn->tls)) {
|
||||
if (!tor_tls_is_server(conn->tls)) {
|
||||
if (conn->_base.state == OR_CONN_STATE_TLS_HANDSHAKING) {
|
||||
conn->_base.state = OR_CONN_STATE_TLS_RENEGOTIATING;
|
||||
|
Loading…
Reference in New Issue
Block a user