mirror of
https://github.com/hashcat/hashcat
synced 2024-11-24 14:27:14 +01:00
Merge pull request #2961 from Masha/brain
Fix compilation without brain
This commit is contained in:
commit
1767bcba68
@ -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…
Reference in New Issue
Block a user