2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 06:13:42 +01:00

Merge pull request #104 from injcristianrojas/master

Untrusted certificate alert should be red
This commit is contained in:
Julien Vehent 2015-09-23 15:16:23 -04:00
commit 34d6ca62bd

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"