aboutsummaryrefslogtreecommitdiff
path: root/openssl/tools/c_hash
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/tools/c_hash')
-rw-r--r--openssl/tools/c_hash9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl/tools/c_hash b/openssl/tools/c_hash
new file mode 100644
index 000000000..5e0a90817
--- /dev/null
+++ b/openssl/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