summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/tools/c_hash
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/tools/c_hash')
-rw-r--r--src/lib/libssl/src/tools/c_hash9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libssl/src/tools/c_hash b/src/lib/libssl/src/tools/c_hash
new file mode 100644
index 0000000000..54ff9d2cac
--- /dev/null
+++ b/src/lib/libssl/src/tools/c_hash
@@ -0,0 +1,9 @@
1#!/bin/sh
2# print out the hash values
3#
4
5for i in $*
6do
7 h=`ssleay x509 -hash -noout -in $i`
8 echo "$h.0 => $i"
9done