1
0

reformatting

This commit is contained in:
ThomasV
2016-01-26 13:20:11 +01:00
parent a1eaf351a7
commit fe9ec6de06
5 changed files with 18 additions and 25 deletions

View File

@@ -123,7 +123,6 @@ class TcpConnection(threading.Thread, util.PrintError):
if s and self.check_host_name(s.getpeercert(), self.host):
self.print_error("SSL certificate signed by CA")
return s
# get server certificate.
# Do not use ssl.get_server_certificate because it does not work with proxy
s = self.get_simple_socket()