Fix sha512_hmac_init_global_utf16le_swap(); hmac doesn't have password length

This commit is contained in:
Jens Steube 2022-03-31 12:58:01 +02:00
parent 7b24986096
commit 8e532e6162
1 changed files with 2 additions and 1 deletions

View File

@ -1967,7 +1967,8 @@ DECLSPEC void sha512_hmac_init_global_utf16le_swap (PRIVATE_AS sha512_hmac_ctx_t
if (enc_len == -1)
{
ctx->len = -1;
//hmac doesn't have password length
//ctx->len = -1;
return;
}