summaryrefslogtreecommitdiff
path: root/crypto/openssl/tools/c_info
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/tools/c_info')
-rw-r--r--crypto/openssl/tools/c_info12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/openssl/tools/c_info b/crypto/openssl/tools/c_info
new file mode 100644
index 000000000000..0e1e633b6fb7
--- /dev/null
+++ b/crypto/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