1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-11 08:11:56 +02:00

Merge pull request from dcooper16/run_fs_infnite_loop

Fix infinite loop in run_fs()
This commit is contained in:
Dirk Wetter
2022-11-10 09:43:29 +01:00
committed by GitHub

@ -10557,7 +10557,12 @@ run_fs() {
fi fi
fi fi
done done
[[ -z "$ciphers_to_test" ]] && [[ -z "$tls13_ciphers_to_test" ]] && break if "$HAS_TLS13"; then
[[ "$proto" == -no_ssl2 ]] && [[ -z "$tls13_ciphers_to_test" ]] && break
[[ "$proto" =~ -no_tls1_3 ]] && [[ -z "$ciphers_to_test" ]] && break
else
[[ -z "$ciphers_to_test" ]] && break
fi
if [[ "$proto" =~ curves1 ]]; then if [[ "$proto" =~ curves1 ]]; then
curves_option="-curves $curves_list1" curves_option="-curves $curves_list1"
elif [[ "$proto" =~ curves2 ]]; then elif [[ "$proto" =~ curves2 ]]; then