diff options
author | Rich Salz <rsalz@openssl.org> | 2015-01-30 15:35:49 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-01-30 15:35:49 -0500 |
commit | 02a938c953b3e1ced71d9a832de1618f907eb96d (patch) | |
tree | 99e54a5aca1466e188467114e0b01aa73ef67121 /crypto/asn1/tasn_prn.c | |
parent | 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 (diff) |
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/tasn_prn.c')
-rw-r--r-- | crypto/asn1/tasn_prn.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c index d95603027a..94e220be69 100644 --- a/crypto/asn1/tasn_prn.c +++ b/crypto/asn1/tasn_prn.c @@ -245,10 +245,6 @@ static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, break; case ASN1_ITYPE_CHOICE: -#if 0 - if (!nohdr && !asn1_print_fsname(out, indent, fname, sname, pctx)) - return 0; -#endif /* CHOICE type, get selector */ i = asn1_get_choice_selector(fld, it); /* This should never happen... */ @@ -376,11 +372,6 @@ static int asn1_print_fsname(BIO *out, int indent, static const char spaces[] = " "; static const int nspaces = sizeof(spaces) - 1; -#if 0 - if (!sname && !fname) - return 1; -#endif - while (indent > nspaces) { if (BIO_write(out, spaces, nspaces) != nspaces) return 0; |