[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-34-g5e130d297

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


The branch, gtk2 has been updated
       via  5e130d297cb96f223056336c035b0a08628f2784 (commit)
      from  b92ec902b5b47737415d7a99c5b6c69e4df8c813 (commit)

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


- Log -----------------------------------------------------------------
commit 5e130d297cb96f223056336c035b0a08628f2784
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 dc61960a7..122da7c1b 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