[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c2d3d3813dac2c337cac059315c990b57767abc1
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Thu Feb 28 18:00:17 2013 +0000

    Remove erroneous state string report from handshakeSuccessful().
---
 nettests/experimental/tls_handshake.py |    4 +---
 1 files changed, 1 insertions(+), 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):



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits