Skip to content

Commit d255039

Browse files
authored
Merge pull request #2663 from dcooper16/fix_ossl_supported_curve_check_30
Fix check for OpenSSL supported curves
2 parents 94b590f + 95d7acf commit d255039

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

0 commit comments

Comments
 (0)