aboutsummaryrefslogtreecommitdiff
path: root/openssl/vendor/current/tools/c_hash
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
committerRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
commiteca4feb580cffd6af474f599efe3fe99505a525c (patch)
tree59fa47c6f197931d6da746cadf7ad37ff1ec4557 /openssl/vendor/current/tools/c_hash
Importing OpenSSL 0.9.8b
svn path=/openssl/vendor/current/CHANGES; revision=1
Diffstat (limited to 'openssl/vendor/current/tools/c_hash')
-rw-r--r--openssl/vendor/current/tools/c_hash9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl/vendor/current/tools/c_hash b/openssl/vendor/current/tools/c_hash
new file mode 100644
index 00000000..5e0a9081
--- /dev/null
+++ b/openssl/vendor/current/tools/c_hash
@@ -0,0 +1,9 @@
+#!/bin/sh
+# print out the hash values
+#
+
+for i in $*
+do
+ h=`openssl x509 -hash -noout -in $i`
+ echo "$h.0 => $i"
+done