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

Untrusted certificate alert should be red

This commit is contained in:
Cristián Rojas 2015-09-23 15:59:24 -03:00
parent 29bdf5fdcb
commit f717a556e5

View File

@ -808,7 +808,7 @@ display_results_in_terminal() {
if [[ $trusted == "True" ]]; then if [[ $trusted == "True" ]]; then
trusted="${c_green}trusted${c_reset}" trusted="${c_green}trusted${c_reset}"
else else
trusted="${c_green}untrusted${c_reset}" trusted="${c_red}untrusted${c_reset}"
fi fi
if [[ $different != "True" ]]; then if [[ $different != "True" ]]; then
echo -e "Certificate: $trusted, $pubkey bits, $sigalg signature" echo -e "Certificate: $trusted, $pubkey bits, $sigalg signature"