EVP: Adapt EVP_PKEY_print_ routines to use BIO_f_prefix()
authorRichard Levitte <levitte@openssl.org>
Wed, 27 Nov 2019 17:35:48 +0000 (18:35 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 18 Dec 2019 18:42:44 +0000 (19:42 +0100)
commitf1299839b7763d293925d57b28f533ab24c084ad
tree8af0c4b40389dfd57265bdc0d99842b3027730f0
parent0e79d20f1e9f9e32bfe45eb3760cb233fa8dfa5e
EVP: Adapt EVP_PKEY_print_ routines to use BIO_f_prefix()

We take the opportunity to refactor EVP_PKEY_print_public,
EVP_PKEY_print_private, EVP_PKEY_print_params to lessen the amount of
code copying.

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