diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/ca.c | 14 |
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); |