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

squash with ok/ko

This commit is contained in:
Julien Vehent 2015-09-18 13:03:38 -04:00
parent cfc3e67782
commit afc1755519

View File

@ -751,9 +751,11 @@ display_results_in_terminal() {
done|column -t done|column -t
echo echo
pubkey_eval="KO" pubkey_eval="KO"
if [[ ! -z $pubkey ]]; then
if (( $pubkey > 2047 )); then if (( $pubkey > 2047 )); then
pubkey_eval="OK" pubkey_eval="OK"
fi fi
fi
sigalg_eval="OK" sigalg_eval="OK"
if [[ $sigalg =~ md5|sha1 ]]; then if [[ $sigalg =~ md5|sha1 ]]; then
sigalg_eval="KO" sigalg_eval="KO"