Don't crash if openssl is missing

This commit is contained in:
Peter Eckersley
2016-12-21 14:38:26 -08:00
parent 011f6055d4
commit fcf7387c3d
+1
View File
@@ -23,6 +23,7 @@ class RevocationChecker(object):
if not util.exe_exists("openssl"):
logging.info("openssl not installed, can't check revocation")
self.broken = True
return
# New versions of openssl want -header var=val, old ones want -header var val
test_host_format = Popen(["openssl", "ocsp", "-header", "var", "val"],