diff --git a/testssl.sh b/testssl.sh index bee6e2e..0122b6a 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2415,7 +2415,7 @@ std_cipherlists() { sclient_success=$? [[ $sclient_success -eq 2 ]] && sclient_success=0 fi - if [[ $sclient_success -ne 0 ]] && [[ 0 -eq $(has_server_protocol ssl2) ]]; then + if [[ $sclient_success -ne 0 ]] && [[ 1 -ne $(has_server_protocol ssl2) ]]; then if ( [[ -z "$6" ]] || "$FAST" ) && "$HAS_SSL2" && listciphers "$1" -ssl2; then $OPENSSL s_client -cipher "$1" $BUGS $STARTTLS -connect $NODEIP:$PORT $PROXY -ssl2 2>$ERRFILE >$TMPFILE >$ERRFILE >$TMPFILE $TMPFILE 2>>$ERRFILE