mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +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:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk