Skip to content

Commit 2b0fdfd

Browse files
authored
Merge pull request #2262 from dcooper16/run_fs_infnite_loop
Fix infinite loop in run_fs()
2 parents a4419fa + a4c24d5 commit 2b0fdfd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

testssl.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10557,7 +10557,12 @@ run_fs() {
1055710557
fi
1055810558
fi
1055910559
done
10560-
[[ -z "$ciphers_to_test" ]] && [[ -z "$tls13_ciphers_to_test" ]] && break
10560+
if "$HAS_TLS13"; then
10561+
[[ "$proto" == -no_ssl2 ]] && [[ -z "$tls13_ciphers_to_test" ]] && break
10562+
[[ "$proto" =~ -no_tls1_3 ]] && [[ -z "$ciphers_to_test" ]] && break
10563+
else
10564+
[[ -z "$ciphers_to_test" ]] && break
10565+
fi
1056110566
if [[ "$proto" =~ curves1 ]]; then
1056210567
curves_option="-curves $curves_list1"
1056310568
elif [[ "$proto" =~ curves2 ]]; then

0 commit comments

Comments
 (0)