summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/ca.c
diff options
context:
space:
mode:
authordoug <>2015-02-08 10:22:45 +0000
committerdoug <>2015-02-08 10:22:45 +0000
commitf5656e5948afd96eceeae5f83939965ba96edc28 (patch)
treeba58b46fda227cb1089ceb084bb49a3366291f24 /src/usr.bin/openssl/ca.c
parent653ed322d15a6087960710834e7221c7ff8b0af1 (diff)
downloadopenbsd-f5656e5948afd96eceeae5f83939965ba96edc28.tar.gz
openbsd-f5656e5948afd96eceeae5f83939965ba96edc28.tar.bz2
openbsd-f5656e5948afd96eceeae5f83939965ba96edc28.zip
Delete commented out code from openssl(1) apps.
From OpenSSL commits: 6f91b017bbb7140f816721141ac156d1b828a6b3 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 a2b18e657ea1a932d125154f4e13ab2258796d90 ok miod@, jsing@
Diffstat (limited to '')
-rw-r--r--src/usr.bin/openssl/ca.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/usr.bin/openssl/ca.c b/src/usr.bin/openssl/ca.c
index c5ab691600..da19598537 100644
--- a/src/usr.bin/openssl/ca.c
+++ b/src/usr.bin/openssl/ca.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ca.c,v 1.4 2015/02/07 04:09:43 bcook Exp $ */ 1/* $OpenBSD: ca.c,v 1.5 2015/02/08 10:22:45 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -2017,18 +2017,6 @@ write_new_certificate(BIO * bp, X509 * x, int output_der, int notext)
2017 (void) i2d_X509_bio(bp, x); 2017 (void) i2d_X509_bio(bp, x);
2018 return; 2018 return;
2019 } 2019 }
2020#if 0
2021 /* ??? Not needed since X509_print prints all this stuff anyway */
2022 f = X509_NAME_oneline(X509_get_issuer_name(x), buf, 256);
2023 BIO_printf(bp, "issuer :%s\n", f);
2024
2025 f = X509_NAME_oneline(X509_get_subject_name(x), buf, 256);
2026 BIO_printf(bp, "subject:%s\n", f);
2027
2028 BIO_puts(bp, "serial :");
2029 i2a_ASN1_INTEGER(bp, x->cert_info->serialNumber);
2030 BIO_puts(bp, "\n\n");
2031#endif
2032 if (!notext) 2020 if (!notext)
2033 X509_print(bp, x); 2021 X509_print(bp, x);
2034 PEM_write_bio_X509(bp, x); 2022 PEM_write_bio_X509(bp, x);