hmac: fix coverity 1484888 negative integer to size_t conversion
authorPauli <pauli@openssl.org>
Sun, 16 May 2021 23:45:33 +0000 (09:45 +1000)
committerPauli <pauli@openssl.org>
Tue, 18 May 2021 03:24:41 +0000 (13:24 +1000)
commit678d0dba6cdcae7dd742d4d0d65da101e9ada1d2
treec51f4de7a8c4a8b84ecb577164a05b3e24ee023a
parent84c5ad23e13a95d962fe52a5aeb23c0c525f0166
hmac: fix coverity 1484888 negative integer to size_t conversion

More theoretical than real but easy and cheap to check for.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15300)
crypto/hmac/hmac.c