diff options
Diffstat (limited to 'libmproxy/proxy')
-rw-r--r-- | libmproxy/proxy/server.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/proxy/server.py b/libmproxy/proxy/server.py index e77439fb..2f6ee061 100644 --- a/libmproxy/proxy/server.py +++ b/libmproxy/proxy/server.py @@ -117,7 +117,7 @@ class ConnectionHandler: self.server_conn.address(), "info") self.conntype = "tcp" - + elif not self.server_conn and self.config.mode == "sslspoof": port = self.config.mode.sslport self.set_server_address(("-", port)) @@ -243,7 +243,7 @@ class ConnectionHandler: ssl_cert_err = self.server_conn.ssl_verification_error if ssl_cert_err is not None: self.log( - "SSL verification failed for upstream server at depth %s with error: %s" % + "SSL verification failed for upstream server at depth %s with error: %s" % (ssl_cert_err['depth'], ssl_cert_err['errno']), "error") self.log("Ignoring server verification error, continuing with connection", "error") @@ -259,7 +259,7 @@ class ConnectionHandler: ssl_cert_err = self.server_conn.ssl_verification_error if ssl_cert_err is not None: self.log( - "SSL verification failed for upstream server at depth %s with error: %s" % + "SSL verification failed for upstream server at depth %s with error: %s" % (ssl_cert_err['depth'], ssl_cert_err['errno']), "error") self.log("Aborting connection attempt", "error") |