[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [torflow/master 07/92] Removed unused ssl_request return code case
Author: John M. Schanck <john@xxxxxxxxxxx>
Date: Sun, 20 Jun 2010 12:31:02 -0400
Subject: Removed unused ssl_request return code case
Commit: db866617b9c7da63a4ac3723a006941f83fa5087
These magic values are bad enough w/o having extra ones that'll
never be used..
---
NetworkScanners/ExitAuthority/soat.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index 887062f..33869db 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -1934,13 +1934,6 @@ class SSLTest(SearchBasedTest):
result = SSLTestResult(self.node_map[exit_node[1:]], address,
ssl_file_name, TEST_FAILURE, fail_reason)
return self.register_timeout_failure(result)
- elif code == -13:
- fail_reason = FAILURE_NOEXITCONTENT # shouldn't happen here
- result = SSLTestResult(self.node_map[exit_node[1:]],
- address, ssl_file_name, TEST_FAILURE, fail_reason)
- self.extra_info=exc
- self.register_exit_failure(result)
- return TEST_FAILURE
elif code == -23:
fail_reason = FAILURE_CRYPTOERROR
result = SSLTestResult(self.node_map[exit_node[1:]],
--
1.7.1