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 07:23:38 +03:00
parent 244ca6fe27
commit 70e4f3cf1b

View File

@ -149,8 +149,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')