pem_read_bio_key_legacy: Do not obscure real error if there is one
authorTomas Mraz <tomas@openssl.org>
Wed, 19 May 2021 16:16:21 +0000 (18:16 +0200)
committerPauli <pauli@openssl.org>
Fri, 21 May 2021 00:03:07 +0000 (10:03 +1000)
commit8a709c5e4b5a6b91ebf5001a94ed80ab20f05472
tree6f1f4ffe54c0b10bcba79e2e231598f1bb6b711b
parent2ed0a45a65b0df10648a4c11d365e2e1ebb1e697
pem_read_bio_key_legacy: Do not obscure real error if there is one

Fixes #15170

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15355)
crypto/pem/pem_pkey.c