Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: e7a7aa783485d2756557b6caa848cb3104fe4f56
https://github.com/openssl/openssl/commit/e7a7aa783485d2756557b6caa848cb3104fe4f56
Author: Tomas Mraz <[email protected]>
Date: 2022-11-25 (Fri, 25 Nov 2022)
Changed paths:
M crypto/pem/pem_pkey.c
Log Message:
-----------
When using PEM_read_bio_PrivateKey_ex() the public key is optional
Fixes #19498
However the private key part is not optional which was
mishandled by the legacy routine.
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/19505)
(cherry picked from commit adb408dc791e83f59f3a86bd90d8e804c814ac30)