From 97081452e9dd204f136ae455fb2f1e716a5b6d46 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Thu, 22 Dec 2016 18:52:20 -0800 Subject: [PATCH] fixup --- certbot/ocsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/ocsp.py b/certbot/ocsp.py index 1193fa04d..213fe9e00 100644 --- a/certbot/ocsp.py +++ b/certbot/ocsp.py @@ -96,7 +96,7 @@ class RevocationChecker(object): def _translate_ocsp_query(cert_path, ocsp_output, ocsp_errors): """Parse openssl's weird output to work out what it means.""" - pattern = r"{0}: (WARNING.*)good".format(cert_path) + pattern = r"{0}: (WARNING.*)?good".format(cert_path) good = re.search(pattern, ocsp_output, flags=re.DOTALL) warning = good.group(1) if good else None