From: Vsevolod Stakhov Date: Sun, 5 Oct 2025 15:05:24 +0000 (+0100) Subject: [Minor] Stop early when found a correct key X-Git-Tag: 3.13.2~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33068b34bc64813ded68f8a5f7efc919eff4a27c;p=thirdparty%2Frspamd.git [Minor] Stop early when found a correct key --- 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; } }