mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 05:45:26 +01:00 
			
		
		
		
	Merge pull request #2697 from dcooper16/fix_ossl_version_check
Fix OpenSSL version check
This commit is contained in:
		| @@ -20622,7 +20622,7 @@ find_openssl_binary() { | ||||
|      OPENSSL_NR_CIPHERS=$(count_ciphers "$(actually_supported_osslciphers 'ALL:COMPLEMENTOFALL' 'ALL')") | ||||
| 
 | ||||
|      if [[ $OPENSSL_NR_CIPHERS -le 140 ]]; then | ||||
|           [[ ${OSSL_VER//./} -ge 210 ]] && HAS_DH_BITS=true | ||||
|           [[ "$OSSL_NAME" =~ LibreSSL ]] && [[ ${OSSL_VER//./} -ge 210 ]] && HAS_DH_BITS=true | ||||
|           if "$SSL_NATIVE"; then | ||||
|                outln | ||||
|                pr_warning "LibreSSL/OpenSSL in native ssl mode with poor cipher support is not a good choice for testing INSECURE features!" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter