mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
Fix colors
This commit is contained in:
parent
460f9cf1f6
commit
0fe7013641
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user