2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-16 20:03:41 +01:00

Merge pull request #99 from tomato42/tolerance-report

fix printing of test data for intolerant servers
This commit is contained in:
Julien Vehent 2015-09-21 10:33:10 -04:00
commit 73b21d3977

View File

@ -890,12 +890,14 @@ display_results_in_terminal() {
display_sigalgs_in_terminal "${sigalgs_preferred_rsa[@]}" display_sigalgs_in_terminal "${sigalgs_preferred_rsa[@]}"
fi fi
fi fi
echo
fi fi
if [[ $TEST_TOLERANCE == "True" ]]; then 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}" echo -e "TLS Tolerance: ${c_green}yes${c_reset}"
else else
echo
echo -e "TLS Tolerance: ${c_red}no${c_reset}" echo -e "TLS Tolerance: ${c_red}no${c_reset}"
echo "Fallbacks required:" echo "Fallbacks required:"
for test_name in "${!tls_tolerance[@]}"; do for test_name in "${!tls_tolerance[@]}"; do