mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 08:38:09 +00:00
Get rid of outfile_check_timer variable in data. context
This commit is contained in:
parent
d321e0d5a4
commit
b4a3dd35b0
@ -969,7 +969,6 @@ typedef struct
|
||||
|
||||
u32 attack_mode;
|
||||
u32 attack_kern;
|
||||
u32 outfile_check_timer;
|
||||
u32 machine_readable;
|
||||
u32 quiet;
|
||||
u32 force;
|
||||
|
@ -278,7 +278,6 @@ int main (int argc, char **argv)
|
||||
data.hex_wordlist = user_options->hex_wordlist;
|
||||
data.logfile_disable = user_options->logfile_disable;
|
||||
data.machine_readable = user_options->machine_readable;
|
||||
data.outfile_check_timer = user_options->outfile_check_timer;
|
||||
data.powertune_enable = user_options->powertune_enable;
|
||||
data.quiet = user_options->quiet;
|
||||
data.runtime = user_options->runtime;
|
||||
@ -2650,8 +2649,6 @@ int main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
data.outfile_check_timer = user_options->outfile_check_timer;
|
||||
|
||||
/**
|
||||
* main loop
|
||||
*/
|
||||
|
@ -38,9 +38,10 @@ void *thread_outfile_remove (void *p)
|
||||
{
|
||||
// some hash-dependent constants
|
||||
|
||||
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
||||
hashconfig_t *hashconfig = data.hashconfig;
|
||||
hashes_t *hashes = data.hashes;
|
||||
user_options_t *user_options = data.user_options;
|
||||
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
||||
hashconfig_t *hashconfig = data.hashconfig;
|
||||
hashes_t *hashes = data.hashes;
|
||||
|
||||
uint dgst_size = hashconfig->dgst_size;
|
||||
uint is_salted = hashconfig->is_salted;
|
||||
@ -49,7 +50,7 @@ void *thread_outfile_remove (void *p)
|
||||
char separator = hashconfig->separator;
|
||||
|
||||
char *outfile_dir = data.outfile_check_directory;
|
||||
uint outfile_check_timer = data.outfile_check_timer;
|
||||
uint outfile_check_timer = user_options->outfile_check_timer;
|
||||
|
||||
// buffers
|
||||
hash_t hash_buf = { 0, 0, 0, 0, 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user