diff options
-rw-r--r-- | src/leap/bitmask/bonafide/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/bonafide/config.py b/src/leap/bitmask/bonafide/config.py index 611e9ed..af03107 100644 --- a/src/leap/bitmask/bonafide/config.py +++ b/src/leap/bitmask/bonafide/config.py @@ -179,9 +179,8 @@ class Provider(object): self._disco = Discovery('https://%s' % domain) self._provider_config = None - cert_path = None is_configured = self.is_configured() - if is_configured: + if not cert_path and is_configured: cert_path = self._get_ca_cert_path() self._http = HTTPClient(cert_path) |