Rework and fix pkey_hmac_keygen()
authortb <tb@openbsd.org>
Thu, 28 Dec 2023 22:00:56 +0000 (22:00 +0000)
committertb <tb@openbsd.org>
Thu, 28 Dec 2023 22:00:56 +0000 (22:00 +0000)
commit4600b3a1e352f770575ee1aafe139f8dde806800
tree79865641bc50232f7c00d8be18ee6058fbb21ff8
parent0f0ee19aedf3f0c3ca258deff905e047cf2e8e96
Rework and fix pkey_hmac_keygen()

The usual: single exit, error check all functions even if they can't
actually fail. This one was flagged again.

ok jsing

CID 471706 (false positive)
lib/libcrypto/hmac/hm_pmeth.c