aboutsummaryrefslogtreecommitdiff
path: root/openssl/tools/c_info
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/tools/c_info')
-rw-r--r--openssl/tools/c_info12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/tools/c_info b/openssl/tools/c_info
new file mode 100644
index 000000000..0e1e633b6
--- /dev/null
+++ b/openssl/tools/c_info
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# print the subject
+#
+
+for i in $*
+do
+ n=`openssl x509 -subject -issuer -enddate -noout -in $i`
+ echo "$i"
+ echo "$n"
+ echo "--------"
+done