[Commits] [SCM] claws branch, master, updated. 4.2.0-35-g4395a2a4f

mones at claws-mail.org mones at claws-mail.org
Fri Jan 12 11:59:48 UTC 2024


The branch, master has been updated
       via  4395a2a4f950a72580b65564b01bc105de2f37d2 (commit)
      from  ab94ee40bf854f51ceafbd26b7dff6e5faf467d9 (commit)

Summary of changes:
 src/common/ssl_certificate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 4395a2a4f950a72580b65564b01bc105de2f37d2
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Jan 12 12:59:04 2024 +0100

    Fix bug 4734, 'ssl_certificate: remove unhelpful warnings from certificate check'

diff --git a/src/common/ssl_certificate.c b/src/common/ssl_certificate.c
index c82a3584b..f0c470f08 100644
--- a/src/common/ssl_certificate.c
+++ b/src/common/ssl_certificate.c
@@ -509,13 +509,13 @@ static gboolean ssl_certificate_compare (SSLCertificate *cert_a, SSLCertificate
 		return FALSE;
 	}
 	if (cert_size_a != cert_size_b) {
-		g_warning("size differ %"G_GSIZE_FORMAT" %"G_GSIZE_FORMAT, cert_size_a, cert_size_b);
+		debug_print("sizes differ: %"G_GSIZE_FORMAT" != %"G_GSIZE_FORMAT"\n", cert_size_a, cert_size_b);
 		g_free(output_a);
 		g_free(output_b);
 		return FALSE;
 	}
 	if (memcmp(output_a, output_b, cert_size_a)) {
-		g_warning("contents differ");
+		debug_print("contents differ\n");
 		g_free(output_a);
 		g_free(output_b);
 		return FALSE;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list