[openssl/openssl] adb408: When using PEM_read_bio_PrivateKey_ex() the public...

Tomáš Mráz noreply at github.com
Fri Nov 25 09:34:58 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: adb408dc791e83f59f3a86bd90d8e804c814ac30
      https://github.com/openssl/openssl/commit/adb408dc791e83f59f3a86bd90d8e804c814ac30
  Author: Tomas Mraz <tomas at 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 <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19505)




More information about the openssl-commits mailing list