pkey_hmac_init(): use calloc()
authortb <tb@openbsd.org>
Wed, 30 Mar 2022 07:12:30 +0000 (07:12 +0000)
committertb <tb@openbsd.org>
Wed, 30 Mar 2022 07:12:30 +0000 (07:12 +0000)
commit03dc3df72212220d2eee1a3f0c673b33cd96485d
tree6d33c47a3e0d82de86b56f212cefb87b61a78fb7
parent9552625f4b2c9d05d4c294b1b532f2e007038397
pkey_hmac_init(): use calloc()

Instead of using malloc() and setting most struct members to 0,
simply use calloc().

ok bcook jsing
lib/libcrypto/hmac/hm_pmeth.c