diff --git a/modules/module_00100.c b/modules/module_00100.c index 4311e1b6b..26f2bc41a 100644 --- a/modules/module_00100.c +++ b/modules/module_00100.c @@ -102,11 +102,11 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE u8 *out_buf = (u8 *) line_buf; - u32_to_hex (tmp[0], out_buf + 0); - u32_to_hex (tmp[1], out_buf + 8); - u32_to_hex (tmp[2], out_buf + 16); - u32_to_hex (tmp[3], out_buf + 24); - u32_to_hex (tmp[4], out_buf + 32); + u32_to_hex (tmp[0], out_buf + 0); + u32_to_hex (tmp[1], out_buf + 8); + u32_to_hex (tmp[2], out_buf + 16); + u32_to_hex (tmp[3], out_buf + 24); + u32_to_hex (tmp[4], out_buf + 32); const int out_len = 40; diff --git a/modules/module_01400.c b/modules/module_01400.c index a9184df84..237da5eed 100644 --- a/modules/module_01400.c +++ b/modules/module_01400.c @@ -108,14 +108,14 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE u8 *out_buf = (u8 *) line_buf; - u32_to_hex (tmp[ 0], out_buf + 0); - u32_to_hex (tmp[ 1], out_buf + 8); - u32_to_hex (tmp[ 2], out_buf + 16); - u32_to_hex (tmp[ 3], out_buf + 24); - u32_to_hex (tmp[ 4], out_buf + 32); - u32_to_hex (tmp[ 5], out_buf + 40); - u32_to_hex (tmp[ 6], out_buf + 48); - u32_to_hex (tmp[ 7], out_buf + 56); + u32_to_hex (tmp[0], out_buf + 0); + u32_to_hex (tmp[1], out_buf + 8); + u32_to_hex (tmp[2], out_buf + 16); + u32_to_hex (tmp[3], out_buf + 24); + u32_to_hex (tmp[4], out_buf + 32); + u32_to_hex (tmp[5], out_buf + 40); + u32_to_hex (tmp[6], out_buf + 48); + u32_to_hex (tmp[7], out_buf + 56); const int out_len = 64;