summaryrefslogtreecommitdiff
path: root/src/leap/soledad/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/client')
-rw-r--r--src/leap/soledad/client/_http.py2
1 files changed, 1 insertions, 1 deletions
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):