Merge pull request #2697 from dcooper16/fix_ossl_version_check

Fix OpenSSL version check
This commit is contained in:
Dirk Wetter 2025-03-15 09:22:26 +01:00 committed by GitHub
commit 098aa4ad8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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!"