PEM: Always use PEM_def_callback() when cb == NULL in pem_read_bio_key()
authorRichard Levitte <levitte@openssl.org>
Sun, 8 Nov 2020 09:25:47 +0000 (10:25 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 10 Nov 2020 09:57:16 +0000 (10:57 +0100)
commit00eae3f9cf4c45f3d0c6561512a51aef74ac8b3d
treeed9f12e4141d5970bc066d9a4af16017d068e3bc
parent457856f27a282a9f7ebb3a72eaedc81268f4c5bb
PEM: Always use PEM_def_callback() when cb == NULL in pem_read_bio_key()

Too many other functions depend on this being done.

Fixes #13340

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13346)
crypto/pem/pem_pkey.c