From 0963f51318da93d6652bf42700448020ca7d0de5 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 14 May 2024 11:04:41 +0200 Subject: [PATCH] fix const params, lessen variable scope and fixing func arguments names --- common/bruteforce.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bruteforce.h b/common/bruteforce.h index 61d1107b3..40e26cb21 100644 --- a/common/bruteforce.h +++ b/common/bruteforce.h @@ -79,7 +79,7 @@ typedef struct { } generator_context_t; -void bf_generator_init(generator_context_t *ctx, uint8_t mode, uint8_t key_size); +void bf_generator_init(generator_context_t *ctx, uint8_t mode, uint8_t key_length); void bf_generator_clear(generator_context_t *ctx); // clear flags and counters used by generators int bf_generator_set_charset(generator_context_t *ctx, uint8_t charsets); int bf_generate(generator_context_t *ctx);