mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	Fix checks with HAS_UDS and HAS_UDS2
This commit fixes a check where the Boolean variables $HAS_UDS and $HAS_UDS2 are checked for whether they are empty rather than for whether they are true.
This commit is contained in:
		| @@ -19668,7 +19668,7 @@ run_starttls_injection() { | ||||
|           outln "Need socat for this check" | ||||
|           return 1 | ||||
|      fi | ||||
|      if [[ -z "$HAS_UDS2" ]] && [[ -z "$HAS_UDS" ]]; then | ||||
|      if ! "$HAS_UDS2" && ! "$HAS_UDS"; then | ||||
|           fileout "$jsonID" "WARN" "Need OpenSSL with Unix-domain socket s_client support for this check" "$cve" "$cwe" "$hint" | ||||
|           outln "Need an OpenSSL with Unix-domain socket s_client support for this check" | ||||
|           return 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Cooper
					David Cooper