summaryrefslogtreecommitdiff
path: root/service/pixelated/bitmask_libraries
diff options
context:
space:
mode:
authorDuda Dornelles <dudassdornelles@gmail.com>2015-01-23 12:35:38 -0200
committerPixpoa pairing <pixpoapairing@pixelated-project.org>2015-01-23 12:35:47 -0200
commit1b0187052463e163706ed5bda36c62d1e2b1e3f2 (patch)
tree95b47f2c909464a38d8e94cbd75cf8831289b811 /service/pixelated/bitmask_libraries
parent3946100dbf2e61c4ee55067ad801c89626a7b3f9 (diff)
plaftform #53 adding --leap-cert option to UA
Diffstat (limited to 'service/pixelated/bitmask_libraries')
-rw-r--r--service/pixelated/bitmask_libraries/certs.py4
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())