From 33068b34bc64813ded68f8a5f7efc919eff4a27c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 5 Oct 2025 16:05:24 +0100 Subject: [PATCH] [Minor] Stop early when found a correct key --- src/plugins/fuzzy_check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index b5fcd5b4cd..f538e6cb60 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2537,6 +2537,7 @@ fuzzy_process_reply(unsigned char **pos, int *r, GPtrArray *req, /* Successfully decrypted */ memcpy(&encrep, &encrep_copy, sizeof(encrep)); decrypted = TRUE; + break; } } -- 2.47.3