summaryrefslogtreecommitdiff
path: root/src/leap/soledad/client
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-07-18 07:29:48 -0400
committerKali Kaneko <kali@leap.se>2017-07-18 07:29:48 -0400
commit2df496c8015faa3f85ac12d7f16004107236de29 (patch)
tree437bb20c45bc17000ab2e407d2a15c5f8583b4ec /src/leap/soledad/client
parent3fad8ef7d05c4366caef215a541bed352753cfd0 (diff)
[bug] fix bad import
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):