1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

Removed redundant length check

This commit is contained in:
Arseniy Sharoglazov 2023-08-10 06:05:57 +03:00
parent 0553bf96b8
commit 244ca6fe27

View File

@ -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_VERIFY_DIGIT;
if (line_len < 16) return (PARSER_SALT_LENGTH);
const u8 version = line_buf[10];
if (version == '1')