mirror of
https://github.com/hashcat/hashcat
synced 2024-11-13 17:28:58 +01:00
Fix some variable name convention
This commit is contained in:
parent
2764333160
commit
50d2cec912
@ -934,7 +934,7 @@ typedef struct restore_data
|
||||
char cwd[256];
|
||||
u32 pid;
|
||||
|
||||
u32 dictpos;
|
||||
u32 dicts_pos;
|
||||
u32 masks_pos;
|
||||
|
||||
u64 words_cur;
|
||||
|
@ -1233,9 +1233,9 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
if (straight_ctx->dicts_cnt)
|
||||
{
|
||||
for (u32 dicts_pos = rd->dictpos; dicts_pos < straight_ctx->dicts_cnt; dicts_pos++)
|
||||
for (u32 dicts_pos = rd->dicts_pos; dicts_pos < straight_ctx->dicts_cnt; dicts_pos++)
|
||||
{
|
||||
rd->dictpos = dicts_pos;
|
||||
rd->dicts_pos = dicts_pos;
|
||||
|
||||
straight_ctx->dicts_pos = dicts_pos;
|
||||
|
||||
@ -1625,7 +1625,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
if (masks_pos > rd->masks_pos)
|
||||
{
|
||||
rd->dictpos = 0;
|
||||
rd->dicts_pos = 0;
|
||||
}
|
||||
|
||||
rd->masks_pos = masks_pos;
|
||||
|
@ -393,10 +393,6 @@ int restore_ctx_init (restore_ctx_t *restore_ctx, user_options_t *user_options,
|
||||
const int rc_options_getopt = user_options_getopt (user_options, rd->argc, rd->argv);
|
||||
|
||||
if (rc_options_getopt == -1) return -1;
|
||||
|
||||
const int rc_options_sanity = user_options_sanity (user_options);
|
||||
|
||||
if (rc_options_sanity == -1) return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user