mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-21 07:59:31 +01:00
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.
This commit is contained in:
parent
f20ce1a0f8
commit
fd4e5469fe
@ -6732,10 +6732,10 @@ certificate_info() {
|
|||||||
out "$indent"; pr_bold " OCSP stapling "
|
out "$indent"; pr_bold " OCSP stapling "
|
||||||
if grep -a "OCSP response" <<< "$ocsp_response" | grep -q "no response sent" ; then
|
if grep -a "OCSP response" <<< "$ocsp_response" | grep -q "no response sent" ; then
|
||||||
if [[ -n "$ocsp_uri" ]]; then
|
if [[ -n "$ocsp_uri" ]]; then
|
||||||
pr_svrty_low "--"
|
pr_svrty_low "not offered"
|
||||||
fileout "${json_prefix}ocsp_stapling" "LOW" "OCSP stapling : not offered"
|
fileout "${json_prefix}ocsp_stapling" "LOW" "OCSP stapling : not offered"
|
||||||
else
|
else
|
||||||
out "--"
|
out "not offered"
|
||||||
fileout "${json_prefix}ocsp_stapling" "INFO" "OCSP stapling : not offered"
|
fileout "${json_prefix}ocsp_stapling" "INFO" "OCSP stapling : not offered"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -6789,7 +6789,7 @@ certificate_info() {
|
|||||||
pr_warning "(was instructed to not use DNS)"
|
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"
|
fileout "${json_prefix}CAA_record" "WARN" "DNS Certification Authority Authorization (CAA) Resource Record / RFC6844 : test skipped as instructed"
|
||||||
else
|
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"
|
fileout "${json_prefix}CAA_record" "LOW" "DNS Certification Authority Authorization (CAA) Resource Record / RFC6844 : not offered"
|
||||||
fi
|
fi
|
||||||
outln
|
outln
|
||||||
|
Loading…
Reference in New Issue
Block a user