1
mirror of https://github.com/hashcat/hashcat synced 2025-03-26 12:12:43 +01:00

Merge pull request from Masha/brain

Fix compilation without brain
This commit is contained in:
Jens Steube 2021-09-03 10:04:08 +02:00 committed by GitHub
commit 1767bcba68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -922,7 +922,10 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
// clean up // clean up
#ifdef WITH_BRAIN
brain_ctx_destroy (hashcat_ctx); brain_ctx_destroy (hashcat_ctx);
#endif
bitmap_ctx_destroy (hashcat_ctx); bitmap_ctx_destroy (hashcat_ctx);
combinator_ctx_destroy (hashcat_ctx); combinator_ctx_destroy (hashcat_ctx);
cpt_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
#endif
/** /**
* brain * brain
*/ */
if (brain_ctx_init (hashcat_ctx) == -1) return -1; if (brain_ctx_init (hashcat_ctx) == -1) return -1;
#endif
/** /**
* logfile * logfile