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