mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	Merge pull request #612 from dcooper16/update_fix_587
Update fix to 587
This commit is contained in:
		| @@ -6195,7 +6195,7 @@ certificate_info() { | |||||||
|                fileout "${json_prefix}crl" "INFO" "No CRL provided" |                fileout "${json_prefix}crl" "INFO" "No CRL provided" | ||||||
|           else |           else | ||||||
|                pr_svrty_highln "-- (NOT ok)" |                pr_svrty_highln "-- (NOT ok)" | ||||||
|                fileout "${json_prefix}crl" "HIGH" "Neither CRL nor  OCSP URL provided" |                fileout "${json_prefix}crl" "HIGH" "Neither CRL nor OCSP URL provided" | ||||||
|           fi |           fi | ||||||
|      elif grep -q http <<< "$crl"; then |      elif grep -q http <<< "$crl"; then | ||||||
|           if [[ $(count_lines "$crl") -eq 1 ]]; then |           if [[ $(count_lines "$crl") -eq 1 ]]; then | ||||||
| @@ -6211,7 +6211,7 @@ certificate_info() { | |||||||
|      fi |      fi | ||||||
|  |  | ||||||
|      out "$indent"; pr_bold " OCSP URI                     " |      out "$indent"; pr_bold " OCSP URI                     " | ||||||
|      if [[ -z "$ocsp_uri" ]] && [[ -n "$crl" ]]; then |      if [[ -z "$ocsp_uri" ]]; then | ||||||
|           outln "--" |           outln "--" | ||||||
|           fileout "${json_prefix}ocsp_uri" "INFO" "OCSP URI : --" |           fileout "${json_prefix}ocsp_uri" "INFO" "OCSP URI : --" | ||||||
|      else |      else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter