2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-09-28 23:53:41 +02:00

Fix colors

This commit is contained in:
Julien Vehent 2015-09-19 08:38:57 -04:00
parent 460f9cf1f6
commit 0fe7013641

View File

@ -812,7 +812,7 @@ display_results_in_terminal() {
curvesordering="${c_green}${curvesordering}${c_reset}" curvesordering="${c_green}${curvesordering}${c_reset}"
else else
if [[ $curvesordering == "" ]]; then if [[ $curvesordering == "" ]]; then
curvesordering="${c_red}none" curvesordering="none"
fi fi
curvesordering="${c_red}${curvesordering}${c_reset}" curvesordering="${c_red}${curvesordering}${c_reset}"
fi fi
@ -828,7 +828,7 @@ display_results_in_terminal() {
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 "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
if [[ ${tls_tolerance[$test_name]} == "False" ]]; then if [[ ${tls_tolerance[$test_name]} == "False" ]]; then