Fix spelling errors
This commit is contained in:
parent
0bb3466954
commit
9e567f62f8
|
|
@ -85,7 +85,7 @@ def get_ocsp(cert_file, url):
|
|||
def verify_ocsp_good(certFile, url):
|
||||
output = get_ocsp(certFile, url)
|
||||
# Check if the output contains either ': good' or
|
||||
# ' unauthorized (6)', if openssl produces somethin else fail out
|
||||
# ' unauthorized (6)', if openssl produces something else fail out
|
||||
# since these are the only two responses we expect. This
|
||||
# allows the check to be looped until successful.
|
||||
if not re.search(": good", output):
|
||||
|
|
@ -98,7 +98,7 @@ def verify_ocsp_good(certFile, url):
|
|||
def verify_ocsp_revoked(certFile, url):
|
||||
output = get_ocsp(certFile, url)
|
||||
# Check if the output contains either ': revoked' or
|
||||
# ': good', if openssl produces somethin else fail out
|
||||
# ': good', if openssl produces something else fail out
|
||||
# since these are the only two responses we expect. This
|
||||
# allows the check to be looped until successful.
|
||||
if not re.search(": revoked", output):
|
||||
|
|
|
|||
Loading…
Reference in New Issue