[or-cvs] r12678: Add a missing "not" to check of whether to use revised hands (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Wed Dec 5 16:11:33 UTC 2007


Author: nickm
Date: 2007-12-05 11:11:33 -0500 (Wed, 05 Dec 2007)
New Revision: 12678

Modified:
   tor/trunk/
   tor/trunk/src/or/connection_or.c
Log:
 r15155 at tombo:  nickm | 2007-12-05 11:11:14 -0500
 Add a missing "not" to check of whether to use revised handshake.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r15155] on d9e39d38-0f13-419c-a857-e10a0ce2aa0c

Modified: tor/trunk/src/or/connection_or.c
===================================================================
--- tor/trunk/src/or/connection_or.c	2007-12-05 06:00:03 UTC (rev 12677)
+++ tor/trunk/src/or/connection_or.c	2007-12-05 16:11:33 UTC (rev 12678)
@@ -612,7 +612,7 @@
              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;



More information about the tor-commits mailing list