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:
parent
f80d916142
commit
86ac061c16
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user