Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 2c3ea16b232bb0e55652a6e39a9bb5a4f98af444
      
https://github.com/openssl/openssl/commit/2c3ea16b232bb0e55652a6e39a9bb5a4f98af444
  Author: Tomas Mraz <to...@openssl.org>
  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 <m...@openssl.org>
Reviewed-by: Paul Dale <pa...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19505)

(cherry picked from commit adb408dc791e83f59f3a86bd90d8e804c814ac30)


Reply via email to