diff options
-rw-r--r-- | scripts/check-hashes.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/check-hashes.sh b/scripts/check-hashes.sh index 8ea3b8f3..f004a427 100644 --- a/scripts/check-hashes.sh +++ b/scripts/check-hashes.sh @@ -7,5 +7,9 @@ cd `dirname $0` : ${switches='-verbose -crl_check_all -policy_check -explicit_policy -policy 1.3.6.1.5.5.7.14.2 -x509_strict'} : ${hashtree=hashed} -find $hashtree -type f -name '*.[0-9]*' 2>&1 -exec \ +find $hashtree -type f -name '*.[0-9]*' 2>&1 -print -exec \ $openssl verify $switches -CApath $(find $hashtree -type d | tr \\012 : | sed 's=:$==') {} \; + +# Hack for analyzing results of running this script: +# +# awk -F: '/^hashed/ && NF == 1 {f = $0; p = 1; next} /^hashed/ && NF == 2 && $1 == f && $2 == " OK" {next} p {print "\n" f; p = 0} {print}' check-hashes.log |