diff --git a/cyrus-sasl-2.1.27-remove-debug-log-mech-free.patch b/cyrus-sasl-2.1.27-remove-debug-log-mech-free.patch new file mode 100644 index 0000000..b09bd44 --- /dev/null +++ b/cyrus-sasl-2.1.27-remove-debug-log-mech-free.patch @@ -0,0 +1,29 @@ +Forwarded: https://github.com/cyrusimap/cyrus-sasl/pull/721 +From: Bastian Germann +Date: Thu, 14 Apr 2022 12:28:40 +0200 +Subject: plugins/digestmd5: Remove debug log "mech free" + +The "DIGEST-MD5 common mech free" debug log message is bothering many users. +It is not really helpful, so drop it. + +Fixes #386. + +Signed-off-by: Bastian Germann +--- + plugins/digestmd5.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/plugins/digestmd5.c b/plugins/digestmd5.c +index c6b54317..be949dce 100644 +--- a/plugins/digestmd5.c ++++ b/plugins/digestmd5.c +@@ -1762,9 +1762,6 @@ static void digestmd5_common_mech_free(void *glob_context, + reauth_cache_t *reauth_cache = my_glob_context->reauth; + size_t n; + +- utils->log(utils->conn, SASL_LOG_DEBUG, +- "DIGEST-MD5 common mech free"); +- + /* Prevent anybody else from freeing this as well */ + my_glob_context->reauth = NULL; + diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index b1d2251..27f235c 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -43,6 +43,7 @@ Patch500: cyrus-sasl-2.1.27-coverity.patch Patch501: cyrus-sasl-2.1.27-cumulative-digestmd5.patch Patch502: cyrus-sasl-2.1.27-cumulative-ossl3.patch Patch503: cyrus-sasl-2.1.28-SAST.patch +Patch504: cyrus-sasl-2.1.27-remove-debug-log-mech-free.patch Patch599: cyrus-sasl-2.1.28-fedora-c99.patch @@ -164,6 +165,7 @@ the GS2 authentication scheme. %patch501 -p1 -b .digestmd5 %patch502 -p1 -b .ossl3 %patch503 -p1 -b .sast +%patch504 -p1 -b .logspam %patch599 -p1 -b .c99 %build