openssl/tools/c_hash

10 lines
119 B
Plaintext
Raw Normal View History

#!/bin/sh
# print out the hash values
#
for i in $*
do
1999-01-02 23:52:11 +08:00
h=`openssl x509 -hash -noout -in $i`
echo "$h.0 => $i"
done