From fd4e5469fe9ebc9bcb95faef894f9e28912bbcf5 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 19 Nov 2017 17:11:22 +0100 Subject: [PATCH] changed output in CAA and OCSP stapling ... from "--" to "not offered". Reason: e.g. on a white terminal background it is hard to detect that there's an output. Also "not offered" is more consistent with the value of protocol checks. --- testssl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index 21ae5d2..49dea72 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6732,10 +6732,10 @@ certificate_info() { out "$indent"; pr_bold " OCSP stapling " if grep -a "OCSP response" <<< "$ocsp_response" | grep -q "no response sent" ; then if [[ -n "$ocsp_uri" ]]; then - pr_svrty_low "--" + pr_svrty_low "not offered" fileout "${json_prefix}ocsp_stapling" "LOW" "OCSP stapling : not offered" else - out "--" + out "not offered" fileout "${json_prefix}ocsp_stapling" "INFO" "OCSP stapling : not offered" fi else @@ -6789,7 +6789,7 @@ certificate_info() { pr_warning "(was instructed to not use DNS)" fileout "${json_prefix}CAA_record" "WARN" "DNS Certification Authority Authorization (CAA) Resource Record / RFC6844 : test skipped as instructed" else - pr_svrty_low "--" + pr_svrty_low "not offered" fileout "${json_prefix}CAA_record" "LOW" "DNS Certification Authority Authorization (CAA) Resource Record / RFC6844 : not offered" fi outln