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