Fix spelling errors

This commit is contained in:
Roland Shoemaker 2015-10-12 17:52:15 -07:00
parent 0bb3466954
commit 9e567f62f8
1 changed files with 2 additions and 2 deletions

View File

@ -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):