1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

dead code: already implied length within the android fde parsing function

This commit is contained in:
philsmd 2017-02-14 18:25:20 +01:00
parent 8fa361dffa
commit 4eadbf221e
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -7866,8 +7866,8 @@ int androidfde_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE
databuf_pos++;
u32 data_len = input_len - 1 - 3 - 1 - saltlen_len - 1 - saltbuf_len - 1 - keylen_len - 1 - keybuf_len - 1;
// u32 data_len = input_len - 1 - 3 - 1 - saltlen_len - 1 - saltbuf_len - 1 - keylen_len - 1 - keybuf_len - 1;
//
// the following check is not needed, since we already checked all the other lengths (sub strings)
// if (data_len != 3072) return (PARSER_SALT_LENGTH);