[openssl/openssl] 2c3ea1: 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/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 2c3ea16b232bb0e55652a6e39a9bb5a4f98af444
      https://github.com/openssl/openssl/commit/2c3ea16b232bb0e55652a6e39a9bb5a4f98af444
  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)

(cherry picked from commit adb408dc791e83f59f3a86bd90d8e804c814ac30)




More information about the openssl-commits mailing list