summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-05 16:11:33 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-05 16:11:33 +0000
commit29045d21b35bdb6440fa0861bd74f165f136c8e7 (patch)
treec04395b2bd2aacbee6420d08de46e9e19b53d9bd /src/or/connection_or.c
parent2d52336b604dbd191780329a7a8a1f82e7e12d2d (diff)
downloadtor-29045d21b35bdb6440fa0861bd74f165f136c8e7.tar.gz
tor-29045d21b35bdb6440fa0861bd74f165f136c8e7.zip
r15155@tombo: nickm | 2007-12-05 11:11:14 -0500
Add a missing "not" to check of whether to use revised handshake. svn:r12678
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
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;