Skip to content

Commit 098aa4a

Browse files
authored
Merge pull request #2697 from dcooper16/fix_ossl_version_check
Fix OpenSSL version check
2 parents 73be4f7 + ad8684d commit 098aa4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20622,7 +20622,7 @@ find_openssl_binary() {
2062220622
OPENSSL_NR_CIPHERS=$(count_ciphers "$(actually_supported_osslciphers 'ALL:COMPLEMENTOFALL' 'ALL')")
2062320623

2062420624
if [[ $OPENSSL_NR_CIPHERS -le 140 ]]; then
20625-
[[ ${OSSL_VER//./} -ge 210 ]] && HAS_DH_BITS=true
20625+
[[ "$OSSL_NAME" =~ LibreSSL ]] && [[ ${OSSL_VER//./} -ge 210 ]] && HAS_DH_BITS=true
2062620626
if "$SSL_NATIVE"; then
2062720627
outln
2062820628
pr_warning "LibreSSL/OpenSSL in native ssl mode with poor cipher support is not a good choice for testing INSECURE features!"

0 commit comments

Comments
 (0)