Fix compilation without brain

Signed-off-by: Miezhiko <Miezhiko@gmail.com>
pull/2961/head
Miezhiko 3 years ago
parent 178003d692
commit 0d5aed883b
No known key found for this signature in database
GPG Key ID: 9631E9398D2D57C9

@ -922,7 +922,10 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
// clean up
#ifdef WITH_BRAIN
brain_ctx_destroy (hashcat_ctx);
#endif
bitmap_ctx_destroy (hashcat_ctx);
combinator_ctx_destroy (hashcat_ctx);
cpt_ctx_destroy (hashcat_ctx);
@ -1090,13 +1093,13 @@ int hashcat_session_init (hashcat_ctx_t *hashcat_ctx, const char *install_folder
}
}
#endif
#endif
/**
* brain
*/
if (brain_ctx_init (hashcat_ctx) == -1) return -1;
#endif
/**
* logfile

Loading…
Cancel
Save