aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_x509.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-01-30 15:35:49 -0500
committerRich Salz <rsalz@openssl.org>2015-01-30 15:35:49 -0500
commit02a938c953b3e1ced71d9a832de1618f907eb96d (patch)
tree99e54a5aca1466e188467114e0b01aa73ef67121 /crypto/asn1/t_x509.c
parent75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 (diff)
downloadopenssl-02a938c953b3e1ced71d9a832de1618f907eb96d.tar.gz
Dead code removal: #if 0 asn1, pkcs7
Keep one #if 0 but rename the symbol to be more descriptive of what it's doing (you can disable support for old broken Netscape software). Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r--crypto/asn1/t_x509.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 0bdc2c2230..667db2625a 100644
--- a/crypto/asn1/t_x509.c
+++ b/crypto/asn1/t_x509.c
@@ -166,14 +166,6 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
if (!(cflag & X509_FLAG_NO_SIGNAME)) {
if (X509_signature_print(bp, ci->signature, NULL) <= 0)
goto err;
-#if 0
- if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0)
- goto err;
- if (i2a_ASN1_OBJECT(bp, ci->signature->algorithm) <= 0)
- goto err;
- if (BIO_puts(bp, "\n") <= 0)
- goto err;
-#endif
}
if (!(cflag & X509_FLAG_NO_ISSUER)) {