From 1f7d73f626bfa8eee3dbff2103324f8952f503db Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Thu, 14 Sep 2017 20:14:21 -0600 Subject: [PATCH] NULL plaintext input is supported in FIPS testing --- wolfcrypt/src/hmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/hmac.c b/wolfcrypt/src/hmac.c index b423c4a4a..b46db6a3c 100755 --- a/wolfcrypt/src/hmac.c +++ b/wolfcrypt/src/hmac.c @@ -54,7 +54,7 @@ } int wc_HmacUpdate(Hmac* hmac, const byte* in, word32 sz) { - if (hmac == NULL || in == NULL) { + if (hmac == NULL) { return BAD_FUNC_ARG; }