We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abdd51d + b9271ba commit 9eeb936Copy full SHA for 9eeb936
1 file changed
testssl.sh
@@ -9711,7 +9711,12 @@ run_pfs() {
9711
fi
9712
9713
done
9714
- [[ -z "$ciphers_to_test" ]] && [[ -z "$tls13_ciphers_to_test" ]] && break
+ if "$HAS_TLS13"; then
9715
+ [[ "$proto" == -no_ssl2 ]] && [[ -z "$tls13_ciphers_to_test" ]] && break
9716
+ [[ "$proto" == -no_tls1_3 ]] && [[ -z "$ciphers_to_test" ]] && break
9717
+ else
9718
+ [[ -z "$ciphers_to_test" ]] && break
9719
+ fi
9720
$OPENSSL s_client $(s_client_options "$proto -cipher "\'${ciphers_to_test:1}\'" -ciphersuites "\'${tls13_ciphers_to_test:1}\'" $STARTTLS $BUGS -connect $NODEIP:$PORT $PROXY $SNI") &>$TMPFILE </dev/null
9721
sclient_connect_successful $? $TMPFILE || break
9722
pfs_cipher=$(get_cipher $TMPFILE)
0 commit comments