1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 00:48:13 +00:00

Add missing case in append_block() in pure kernel rule engine

This commit is contained in:
jsteube 2017-08-20 15:08:51 +02:00
parent 6907981f08
commit f32e113942
2 changed files with 2 additions and 0 deletions

View File

@ -116,6 +116,7 @@ static void append_block (const u32 *buf_src, const int off_src, u32 *buf_dst, c
switch (left)
{
case 4: append_four_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 3: append_three_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 2: append_two_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 1: append_one_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;

View File

@ -141,6 +141,7 @@ static void append_block (const u32 *buf_src, const int off_src, u32 *buf_dst, c
switch (left)
{
case 4: append_four_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 3: append_three_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 2: append_two_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;
case 1: append_one_byte (buf_src, off_src + i, buf_dst, off_dst + i); break;