mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Fix some spacing and buffer size
This commit is contained in:
parent
df1e00e4ed
commit
2d64dcccab
@ -108,13 +108,13 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
||||
|
||||
encoder_apply_options (hashconfig, tmp);
|
||||
|
||||
u32 ptr_plain[256] = { 0 };
|
||||
u8 ptr_plain[100] = { 0 };
|
||||
|
||||
base64_encode (int_to_base64, (const u8 *) tmp, 20, (u8 *) ptr_plain);
|
||||
|
||||
const int out_len = 40;
|
||||
|
||||
snprintf (line_buf, out_len, "{SHA}%s", (char *)ptr_plain);
|
||||
snprintf (line_buf, out_len, "{SHA}%s", (char *) ptr_plain);
|
||||
|
||||
return out_len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user