From 2df496c8015faa3f85ac12d7f16004107236de29 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 18 Jul 2017 07:29:48 -0400 Subject: [bug] fix bad import --- src/leap/soledad/client/_http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/soledad/client') diff --git a/src/leap/soledad/client/_http.py b/src/leap/soledad/client/_http.py index aa856de6..300dc335 100644 --- a/src/leap/soledad/client/_http.py +++ b/src/leap/soledad/client/_http.py @@ -53,7 +53,7 @@ class PinnedTokenAgent(Agent): self._creds = None self.set_token(token) # pin this agent with the platform TLS certificate - factory = get_compatible_ssl_context_factory(cert_file) + factory = getPolicyForHTTPS(cert_file) Agent.__init__(self, reactor, contextFactory=factory) def set_token(self, token): -- cgit v1.2.3