From 15a8a93a4e4769ab67fa8d77e19c085dabd58f55 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 7 Mar 2015 01:39:01 +0100 Subject: [PATCH] adjust to changed netlib api --- libmproxy/proxy/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/proxy/server.py b/libmproxy/proxy/server.py index 896dd024f..a72f9aba2 100644 --- a/libmproxy/proxy/server.py +++ b/libmproxy/proxy/server.py @@ -295,7 +295,7 @@ class ConnectionHandler: self.server_reconnect(sni) # reconnect to upstream server with SNI # Now, change client context to reflect changed certificate: cert, key, chain_file = self.find_cert() - new_context = self.client_conn._create_ssl_context( + new_context = self.client_conn.create_ssl_context( cert, key, method=self.config.openssl_method_client, options=self.config.openssl_options_client,