mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 15:38:11 +00:00
Do not reset user_options_t on shutdown, it could be used by main.c
This commit is contained in:
parent
fb5d840cf8
commit
94eab8a7b6
@ -842,6 +842,7 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
}
|
||||
|
||||
// outer_loop iterates through hash_modes (in benchmark mode)
|
||||
// also initializes stuff that depend on hash mode
|
||||
|
||||
static int outer_loop (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
|
@ -200,7 +200,8 @@ void user_options_destroy (user_options_t *user_options)
|
||||
{
|
||||
myfree (user_options->rp_files);
|
||||
|
||||
memset (user_options, 0, sizeof (user_options_t));
|
||||
//do not reset this, it might be used from main.c
|
||||
//memset (user_options, 0, sizeof (user_options_t));
|
||||
}
|
||||
|
||||
int user_options_getopt (user_options_t *user_options, int argc, char **argv)
|
||||
|
Loading…
Reference in New Issue
Block a user