Fix leak of pk if EVP_PKEY_set1_RSA() fails.
authortobhe <tobhe@openbsd.org>
Tue, 8 Nov 2022 12:59:36 +0000 (12:59 +0000)
committertobhe <tobhe@openbsd.org>
Tue, 8 Nov 2022 12:59:36 +0000 (12:59 +0000)
commit34054017b23b8865f8c13d91aa47b102b0fe93bd
tree631b26aefe5eda1fc519fe6ff92e93c67031b30d
parent9b17614694afa087895f4d653b88b3737554493f
Fix leak of pk if EVP_PKEY_set1_RSA() fails.

Found with CodeChecker
feedback and ok tb@
lib/libcrypto/rsa/rsa_prn.c