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; }