forked from wolfSSL/wolfssl
Merge pull request #1565 from embhorn/zd3883
wolfSSL_HMAC_Final parameter len should be optional
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user