1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

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

View File

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