mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +00:00
Fixed output length in -m 101
This commit is contained in:
parent
e571b890e9
commit
bb8827f2e0
@ -133,9 +133,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
||||
|
||||
base64_encode (int_to_base64, (const u8 *) tmp, 20, (u8 *) ptr_plain);
|
||||
|
||||
const int out_len = 40;
|
||||
|
||||
snprintf (line_buf, line_size, "{SHA}%s", (char *) ptr_plain);
|
||||
const int out_len = snprintf (line_buf, line_size, "{SHA}%s", (char *) ptr_plain);
|
||||
|
||||
return out_len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user