ASN1: Adapt ASN.1 output routines to use BIO_f_prefix()
authorRichard Levitte <levitte@openssl.org>
Wed, 27 Nov 2019 16:58:01 +0000 (17:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 18 Dec 2019 18:42:44 +0000 (19:42 +0100)
commit0e79d20f1e9f9e32bfe45eb3760cb233fa8dfa5e
tree943b4f2a4df748d2e938941bc900e6f7973417fa
parente79ae962fbed99cf80feb32b326f701778ca7434
ASN1: Adapt ASN.1 output routines to use BIO_f_prefix()

We modify asn1_print_info() to print the full line.  It pushes a
BIO_f_prefix() BIO to the given |bp| if it can't detect that it's
already present, then uses both the prefix and indent settings to get
formatting right.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10531)
crypto/asn1/asn1_par.c