1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Update src/modules/module_23400.c

Co-authored-by: kgolawski <konrad.golawski@gmail.com>
This commit is contained in:
PenguinKeeper7 2024-05-20 23:57:42 +01:00 committed by GitHub
parent f80d916142
commit 86ac061c16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,8 +167,7 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
const u32 iter1 = hc_strtoul ((const char *) iter1_pos, NULL, 10); const u32 iter1 = hc_strtoul ((const char *) iter1_pos, NULL, 10);
if (iter1 < 1) return (PARSER_SALT_ITERATION); if (iter1 == 0) return (PARSER_SALT_ITERATION);
if (iter1 > UINT_MAX) return (PARSER_SALT_ITERATION);
salt->salt_iter = iter1 - 1; salt->salt_iter = iter1 - 1;