1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Fix datatype access to user_options->username in hlfmt.c

This commit is contained in:
jsteube 2023-11-02 16:48:54 +00:00
parent b66527f0d2
commit cdad6cca7b

View File

@ -28,7 +28,7 @@ static void hlfmt_hash_hashcat (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, char *l
const user_options_t *user_options = hashcat_ctx->user_options; const user_options_t *user_options = hashcat_ctx->user_options;
const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; const hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
if (user_options->username == 0) if (user_options->username == false)
{ {
*hashbuf_pos = line_buf; *hashbuf_pos = line_buf;
*hashbuf_len = line_len; *hashbuf_len = line_len;