mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 15:03:41 +01:00
fix printing of test data for intolerant servers
tls_tolerance is an array, so we need to use array syntax... since if the server is tls version intolerant we will be printing a lot of info, space it out from the certificate-related summary ephemeral sigalgs are also printing a lot of information, so space them from the TLS Tolerance test results
This commit is contained in:
parent
0011abcec7
commit
dbce87cb1a
@ -890,12 +890,14 @@ display_results_in_terminal() {
|
||||
display_sigalgs_in_terminal "${sigalgs_preferred_rsa[@]}"
|
||||
fi
|
||||
fi
|
||||
echo
|
||||
fi
|
||||
|
||||
if [[ $TEST_TOLERANCE == "True" ]]; then
|
||||
if [[ $tls_tolerance['big-TLSv1.2'] =~ TLSv1.2 ]]; then
|
||||
if [[ ${tls_tolerance['big-TLSv1.2']} =~ TLSv1\.2 ]]; then
|
||||
echo -e "TLS Tolerance: ${c_green}yes${c_reset}"
|
||||
else
|
||||
echo
|
||||
echo -e "TLS Tolerance: ${c_red}no${c_reset}"
|
||||
echo "Fallbacks required:"
|
||||
for test_name in "${!tls_tolerance[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user