mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-16 17:42:04 +00:00
Fixed possible incorrect comparison with CPT_CACHE
This commit is contained in:
parent
6716447dfc
commit
e6ab4d730d
@ -796,7 +796,7 @@ int check_cracked (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param)
|
|||||||
|
|
||||||
cpt_ctx->cpt_total += cpt_cracked;
|
cpt_ctx->cpt_total += cpt_cracked;
|
||||||
|
|
||||||
if (cpt_ctx->cpt_pos == CPT_CACHE) cpt_ctx->cpt_pos = 0;
|
if (cpt_ctx->cpt_total == CPT_CACHE) cpt_ctx->cpt_pos = 0;
|
||||||
|
|
||||||
hc_thread_mutex_unlock (status_ctx->mux_display);
|
hc_thread_mutex_unlock (status_ctx->mux_display);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user