diff options
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r-- | service/pixelated/bitmask_libraries/certs.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/pixelated/bitmask_libraries/certs.py b/service/pixelated/bitmask_libraries/certs.py index caa166e2..ed597ca8 100644 --- a/service/pixelated/bitmask_libraries/certs.py +++ b/service/pixelated/bitmask_libraries/certs.py @@ -19,8 +19,12 @@ from leap.common import ca_bundle from .config import AUTO_DETECT_CA_BUNDLE +LEAP_CERT = None + def which_bundle(provider): + if LEAP_CERT: + return LEAP_CERT return str(LeapCertificate(provider).auto_detect_ca_bundle()) |