From d2d1278bf7ef71c43b8a243db8d69af2e58a1f9d Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 26 Feb 2019 15:26:10 +0100 Subject: [PATCH] Reenable brain support by default --- src/Makefile | 2 +- src/brain.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 23765c120..d0865ffce 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,7 +7,7 @@ SHARED := 0 DEBUG := 0 PRODUCTION := 0 PRODUCTION_VERSION := v5.1.0 -ENABLE_BRAIN := 0 +ENABLE_BRAIN := 1 USE_SYSTEM_LZMA := 0 USE_SYSTEM_OPENCL := 0 USE_SYSTEM_XXHASH := 0 diff --git a/src/brain.c b/src/brain.c index 4f54a8f4c..f30917a19 100644 --- a/src/brain.c +++ b/src/brain.c @@ -148,6 +148,7 @@ u32 brain_compute_session (hashcat_ctx_t *hashcat_ctx) u32 brain_compute_attack (hashcat_ctx_t *hashcat_ctx) { const combinator_ctx_t *combinator_ctx = hashcat_ctx->combinator_ctx; + const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; const mask_ctx_t *mask_ctx = hashcat_ctx->mask_ctx; const straight_ctx_t *straight_ctx = hashcat_ctx->straight_ctx; const user_options_t *user_options = hashcat_ctx->user_options;