diff --git a/src/ssl.c b/src/ssl.c index fc65e21e8..5b449fb5b 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -24579,7 +24579,8 @@ int wolfSSL_HMAC_Final(WOLFSSL_HMAC_CTX* ctx, unsigned char* hash, WOLFSSL_MSG("wolfSSL_HMAC_Final"); - if (ctx == NULL || hash == NULL || len == NULL) { + /* "len" parameter is optional. */ + if (ctx == NULL || hash == NULL) { WOLFSSL_MSG("invalid parameter"); return WOLFSSL_FAILURE; }