Skip to content

Commit ffa3e19

Browse files
authored
Merge pull request #2662 from dcooper16/fix_ossl_supported_curve_check
Fix check for OpenSSL supported curves
2 parents 94ff896 + 5c7e7bc commit ffa3e19

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
@@ -20505,7 +20505,7 @@ find_openssl_binary() {
2050520505
HAS_CURVES=true
2050620506
for curve in "${curves_ossl[@]}"; do
2050720507
# Same as above, we just don't need a port for invalid.
20508-
$OPENSSL s_client -curves $curve -connect $NXCONNECT </dev/null 2>&1 | grep -Eiaq "Error with command|unknown option"
20508+
$OPENSSL s_client -curves $curve -connect $NXCONNECT </dev/null 2>&1 | grep -Eiaq "Error with command|unknown option|Call to SSL_CONF_cmd(.*) failed"
2050920509
[[ $? -ne 0 ]] && OSSL_SUPPORTED_CURVES+=" $curve "
2051020510
done
2051120511
fi

0 commit comments

Comments
 (0)