Fix another EVP_PKEY_assign_GOST() call
authortb <tb@openbsd.org>
Thu, 28 Dec 2023 21:49:07 +0000 (21:49 +0000)
committertb <tb@openbsd.org>
Thu, 28 Dec 2023 21:49:07 +0000 (21:49 +0000)
commit2e29794f8c2a572c0c06848c618c9e9d69d69ddb
tree96b5707b975eb7dea6e1e7c09106e72293c6ad2f
parent8262960174586c76c1ae30f6ad2c85823f7ad2c8
Fix another EVP_PKEY_assign_GOST() call

Again this can't actually fail, but if it did, things would leak.
Call GOST_KEY_free() in the error path.

ok jsing

CID 471706 (false positive)
lib/libcrypto/gost/gostr341001_ameth.c