[tor-commits] [ooni-probe/develop] Remove erroneous state string report from handshakeSuccessful().

isis at torproject.org isis at torproject.org
Thu Jun 6 16:41:37 UTC 2013


commit c2d3d3813dac2c337cac059315c990b57767abc1
Author: Isis Lovecruft <isis at torproject.org>
Date:   Thu Feb 28 18:00:17 2013 +0000

    Remove erroneous state string report from handshakeSuccessful().
---
 nettests/experimental/tls_handshake.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index 47e5091..48902b3 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -692,11 +692,9 @@ class TLSHandshakeTest(nettest.NetTestCase):
             """
             addr, port = host
             log.msg("Handshake with %s:%d failed!" % host)
+
             self.report['host'] = host
             self.report['port'] = port
-            self.report['state'] = "HANDSHAKE_FAILED"
-            ## xxx do we need this?
-            #return connection
 
         @defer.inlineCallbacks
         def deferMakeConnection(host):





More information about the tor-commits mailing list