Check return of BIO_new() and always free pkey from evp_pkey_copy_downgraded()
authorTomas Mraz <tomas@openssl.org>
Tue, 7 Jun 2022 16:49:29 +0000 (18:49 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 10 Jun 2022 12:06:57 +0000 (14:06 +0200)
commitd8732803c493cba7a863c5c16da62ee9d611c5ca
tree53efcc24de0c0a4de399a270f0d24b624480c11c
parenta7863f994955c45fb7ce29e30b81a6206994c3dd
Check return of BIO_new() and always free pkey from evp_pkey_copy_downgraded()

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18494)
crypto/evp/p_lib.c