mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 13:25:25 +01:00 
			
		
		
		
	Minor output tuning for #1188
Prefer quoted name, see https://datatracker.ietf.org/liaison/1616/. Also added visibility info for now.
This commit is contained in:
		| @@ -7433,8 +7433,8 @@ etsi_etls_visibility_info() { | |||||||
|           fi |           fi | ||||||
|      fi |      fi | ||||||
|      if [[ $nr_visnames -eq 0 ]]; then |      if [[ $nr_visnames -eq 0 ]]; then | ||||||
|           outln "Not present" |           outln "not present" | ||||||
|           fileout "$jsonID" "INFO" "Not present" |           fileout "$jsonID" "INFO" "not present" | ||||||
|      else |      else | ||||||
|           for (( i=0; i < nr_visnames; i++ )); do |           for (( i=0; i < nr_visnames; i++ )); do | ||||||
|                [[ $i -ne 0 ]] && out "$spaces" |                [[ $i -ne 0 ]] && out "$spaces" | ||||||
| @@ -7565,7 +7565,7 @@ certificate_transparency() { | |||||||
|           fi |           fi | ||||||
|      fi |      fi | ||||||
|  |  | ||||||
|      if [[ $SERVICE != "HTTP" ]] && ! "$CLIENT_AUTH"; then |      if [[ $SERVICE != HTTP ]] && ! "$CLIENT_AUTH"; then | ||||||
|           # At the moment Certificate Transparency only applies to HTTPS. |           # At the moment Certificate Transparency only applies to HTTPS. | ||||||
|           tm_out "N/A" |           tm_out "N/A" | ||||||
|      else |      else | ||||||
| @@ -8155,7 +8155,8 @@ certificate_info() { | |||||||
| #         https://certs.opera.com/03/ev-oids.xml | #         https://certs.opera.com/03/ev-oids.xml | ||||||
| #         see #967 | #         see #967 | ||||||
|  |  | ||||||
|      out "$indent"; pr_bold " eTLS                         " |      out "$indent"; pr_bold " \"eTLS\"" | ||||||
|  |      out " (visibility info)     " | ||||||
|      jsonID="cert_eTLS" |      jsonID="cert_eTLS" | ||||||
|      etsi_etls_visibility_info "$jsonID" "$spaces" "$HOSTCERT" "$cert_txt" |      etsi_etls_visibility_info "$jsonID" "$spaces" "$HOSTCERT" "$cert_txt" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter