Merge pull request #612 from dcooper16/update_fix_587

Update fix to 587
This commit is contained in:
Dirk Wetter 2017-02-04 12:14:09 +01:00 committed by GitHub
commit 59c3286775
1 changed files with 2 additions and 2 deletions

View File

@ -6195,7 +6195,7 @@ certificate_info() {
fileout "${json_prefix}crl" "INFO" "No CRL provided"
else
pr_svrty_highln "-- (NOT ok)"
fileout "${json_prefix}crl" "HIGH" "Neither CRL nor OCSP URL provided"
fileout "${json_prefix}crl" "HIGH" "Neither CRL nor OCSP URL provided"
fi
elif grep -q http <<< "$crl"; then
if [[ $(count_lines "$crl") -eq 1 ]]; then
@ -6211,7 +6211,7 @@ certificate_info() {
fi
out "$indent"; pr_bold " OCSP URI "
if [[ -z "$ocsp_uri" ]] && [[ -n "$crl" ]]; then
if [[ -z "$ocsp_uri" ]]; then
outln "--"
fileout "${json_prefix}ocsp_uri" "INFO" "OCSP URI : --"
else