mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Removed redundant length check
This commit is contained in:
parent
0553bf96b8
commit
244ca6fe27
@ -139,8 +139,6 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
token.attr[3] = TOKEN_ATTR_VERIFY_LENGTH
|
token.attr[3] = TOKEN_ATTR_VERIFY_LENGTH
|
||||||
| TOKEN_ATTR_VERIFY_DIGIT;
|
| TOKEN_ATTR_VERIFY_DIGIT;
|
||||||
|
|
||||||
if (line_len < 16) return (PARSER_SALT_LENGTH);
|
|
||||||
|
|
||||||
const u8 version = line_buf[10];
|
const u8 version = line_buf[10];
|
||||||
|
|
||||||
if (version == '1')
|
if (version == '1')
|
||||||
|
Loading…
Reference in New Issue
Block a user