summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-30 14:52:57 -0500
committerRich Salz <rsalz@openssl.org>2015-01-30 14:52:57 -0500
commit75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 (patch)
tree9db0aaec4eeaad8510d1e24e384f99c46dff145e /apps/ca.c
parentd6fbb194095312f4722c81c9362dbd0de66cb656 (diff)
Dead code clean: #if 0 removal in apps
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/ca.c b/apps/ca.c
index a9171123c2..bcb3f50d8a 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -2171,18 +2171,6 @@ static void write_new_certificate(BIO *bp, X509 *x, int output_der,
(void)i2d_X509_bio(bp, x);
return;
}
-#if 0
- /* ??? Not needed since X509_print prints all this stuff anyway */
- f = X509_NAME_oneline(X509_get_issuer_name(x), buf, 256);
- BIO_printf(bp, "issuer :%s\n", f);
-
- f = X509_NAME_oneline(X509_get_subject_name(x), buf, 256);
- BIO_printf(bp, "subject:%s\n", f);
-
- BIO_puts(bp, "serial :");
- i2a_ASN1_INTEGER(bp, x->cert_info->serialNumber);
- BIO_puts(bp, "\n\n");
-#endif
if (!notext)
X509_print(bp, x);
PEM_write_bio_X509(bp, x);