adjust to changed netlib api

This commit is contained in:
Maximilian Hils 2015-03-07 01:39:01 +01:00
parent 353a6ace47
commit 15a8a93a4e

View File

@ -295,7 +295,7 @@ class ConnectionHandler:
self.server_reconnect(sni) # reconnect to upstream server with SNI self.server_reconnect(sni) # reconnect to upstream server with SNI
# Now, change client context to reflect changed certificate: # Now, change client context to reflect changed certificate:
cert, key, chain_file = self.find_cert() 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, cert, key,
method=self.config.openssl_method_client, method=self.config.openssl_method_client,
options=self.config.openssl_options_client, options=self.config.openssl_options_client,