Fix leak of pk if EVP_PKEY_set1_DSA() fails.
authortobhe <tobhe@openbsd.org>
Tue, 8 Nov 2022 19:17:05 +0000 (19:17 +0000)
committertobhe <tobhe@openbsd.org>
Tue, 8 Nov 2022 19:17:05 +0000 (19:17 +0000)
commitf69f3e59922d6a1bc42cdb56d8cc327c81883a41
treee6029e031c1fbba7c8d575ccd8083e1ba48a614e
parentaf8798d5f1b4b0e87d39c3694c4cbf5630f044e2
Fix leak of pk if EVP_PKEY_set1_DSA() fails.

Found with CodeChecker
ok jsing@
lib/libcrypto/dsa/dsa_prn.c