PEM: Make PKCS8 serializers aware of OSSL_SERIALIZERs
authorRichard Levitte <levitte@openssl.org>
Mon, 18 May 2020 06:32:28 +0000 (08:32 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 2 Jun 2020 18:00:25 +0000 (20:00 +0200)
commiteb2bba2569a3637b8477c56f82b616222f5af46f
treeb08fa63d8197d33937fbd2547976b4a2547b1f73
parenta5a87011baeef71c86938a2bae54f89fbe99e5dc
PEM: Make PKCS8 serializers aware of OSSL_SERIALIZERs

PEM_write_bio_PKCS8PrivateKey(), i2d_PKCS8PrivateKey_bio(),
PEM_write_PKCS8PrivateKey(), and i2d_PKCS8PrivateKey_fp() are affected
by this.

Fixes #11845

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11855)
crypto/pem/pem_pk8.c