mac: always pass a non-NULL output size pointer to providers.
authorPauli <paul.dale@oracle.com>
Thu, 16 Jul 2020 01:15:42 +0000 (11:15 +1000)
committerPauli <paul.dale@oracle.com>
Sat, 18 Jul 2020 06:54:53 +0000 (16:54 +1000)
commita85c9021252e4ab53a15b46e773808864a63d3d1
tree830a69b8304609cf1c2339e78275354fa63c3688
parent3fc164e8d18dcdef57d297956debf8d966e7fbef
mac: always pass a non-NULL output size pointer to providers.

The backend code varies for the different MACs and sometimes sets the output
length, sometimes checks the return pointer and sometimes neither.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12458)
crypto/evp/mac_lib.c