Add clarifying comment.

This commit is contained in:
Brad Warren 2020-05-20 14:59:20 -07:00
parent 47ba8ad09e
commit 84cc6825b6

View file

@ -150,6 +150,7 @@ class OCSPPrefetchMixin(object):
"""
self._ensure_ocsp_dirs()
# Ensure cert_path exists before trying to use it.
if not os.path.isfile(cert_path):
raise OCSPCertificateError("Certificate has been removed from the system.")
ocsp_workfile = os.path.join(