summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/tools/c_name
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/tools/c_name')
-rw-r--r--crypto/openssl/tools/c_name10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/openssl/tools/c_name b/crypto/openssl/tools/c_name
new file mode 100644
index 0000000..28800c0
--- /dev/null
+++ b/crypto/openssl/tools/c_name
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# print the subject
+#
+
+for i in $*
+do
+ n=`openssl x509 -subject -noout -in $i`
+ echo "$i $n"
+done
OpenPOWER on IntegriCloud