From 20d33da11b791e9944b18649b999315d3bd79585 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 31 Jan 2018 20:38:40 +0100 Subject: [PATCH] unifying output for missing must_staple xt and CT --- testssl.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testssl.sh b/testssl.sh index 888b758..80636fb 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6322,8 +6322,8 @@ must_staple() { fileout "${jsonID}${json_postfix}" "HIGH" "extension detected but no OCSP stapling provided" fi else - outln "no" - fileout "${jsonID}${json_postfix}" "INFO" "no" + outln "--" + fileout "${jsonID}${json_postfix}" "INFO" "--" fi } @@ -6397,7 +6397,7 @@ certificate_transparency() { # At the moment Certificate Transparency only applies to HTTPS. tm_out "N/A" else - tm_out "no" + tm_out "--" fi return 0 } @@ -7095,7 +7095,7 @@ certificate_info() { fi outln - out "$indent"; pr_bold " OCSP must staple "; + out "$indent"; pr_bold " OCSP must staple extension "; must_staple "$json_postfix" "$provides_stapling" out "$indent"; pr_bold " DNS CAA RR"; out " (experimental) "