diff options
-rw-r--r-- | src/or/connection_or.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 2f194cd600..2540df2ff7 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -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; |