[glib-networking/wip/openssl: 39/41] Avoid unneeded debug logging



commit 5c8634e27287a7f8364e4038874baa92dc14e031
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Nov 10 16:17:29 2015 +0100

    Avoid unneeded debug logging

 tls/openssl/gtlsbio.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tls/openssl/gtlsbio.c b/tls/openssl/gtlsbio.c
index d91a5c2..84a5bba 100644
--- a/tls/openssl/gtlsbio.c
+++ b/tls/openssl/gtlsbio.c
@@ -96,6 +96,10 @@ gtls_bio_ctrl (BIO  *b,
     case BIO_CTRL_FLUSH:
       ret = 1;
       break;
+    case BIO_CTRL_PUSH:
+    case BIO_CTRL_POP:
+      ret = 0;
+      break;
     default:
       g_debug ("Got unsupported command: %d", cmd);
       ret = 0;


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