[glib-networking] openssl: remove noisy logging code



commit 9f9dbbfdddacfe1316f891864b04c37a8b9f7b3c
Author: Ole André Vadla Ravnås <oleavr gmail com>
Date:   Wed Apr 1 19:08:38 2020 +0200

    openssl: remove noisy logging code

 tls/openssl/gtlscertificate-openssl.c | 1 -
 tls/openssl/gtlsconnection-openssl.c  | 3 ---
 2 files changed, 4 deletions(-)
---
diff --git a/tls/openssl/gtlscertificate-openssl.c b/tls/openssl/gtlscertificate-openssl.c
index b0e1ed8..2fa9695 100644
--- a/tls/openssl/gtlscertificate-openssl.c
+++ b/tls/openssl/gtlscertificate-openssl.c
@@ -548,7 +548,6 @@ g_tls_certificate_openssl_convert_error (guint openssl_error)
       gtls_flags = G_TLS_CERTIFICATE_UNKNOWN_CA;
       break;
     default:
-      g_message ("certificate error: %s", X509_verify_cert_error_string (openssl_error));
       gtls_flags = G_TLS_CERTIFICATE_GENERIC_ERROR;
     }
 
diff --git a/tls/openssl/gtlsconnection-openssl.c b/tls/openssl/gtlsconnection-openssl.c
index 29df6b7..e756fa7 100644
--- a/tls/openssl/gtlsconnection-openssl.c
+++ b/tls/openssl/gtlsconnection-openssl.c
@@ -238,9 +238,6 @@ end_openssl_io (GTlsConnectionOpenssl  *openssl,
 
   if (my_error)
     g_propagate_error (error, my_error);
-  else
-    /* FIXME: this is just for debug */
-    g_message ("end_openssl_io %s: %d, %d, %d", G_IS_TLS_CLIENT_CONNECTION (openssl) ? "client" : "server", 
err_code, err_lib, reason);
 
   if (ret == 0 && err == 0 && err_lib == 0 && err_code == SSL_ERROR_SYSCALL
       && (direction == G_IO_IN || direction == G_IO_OUT))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]