diff --git a/testssl.sh b/testssl.sh index f295cd3..a4af525 100755 --- a/testssl.sh +++ b/testssl.sh @@ -4796,7 +4796,8 @@ locally_supported() { run_prototest_openssl() { local -i ret=0 - ! locally_supported "$1" && return 7 + # check whether the protocol being tested is supported by $OPENSSL + $OPENSSL s_client "$1" -connect x 2>&1 | grep -aq "unknown option" && return 7 $OPENSSL s_client $(s_client_options "-state $1 $STARTTLS $BUGS -connect $NODEIP:$PORT $PROXY $SNI") >$TMPFILE 2>$ERRFILE