[glib-networking] gnutls: update for require-close-notify semantics change



commit 6564f506e7aca01b7eb55a95dc49418238932a3b
Author: Dan Winship <danw gnome org>
Date:   Mon Dec 6 13:03:24 2010 +0100

    gnutls: update for require-close-notify semantics change

 tls/gnutls/gtlsconnection-gnutls.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
index 14634ee..b812b18 100644
--- a/tls/gnutls/gtlsconnection-gnutls.c
+++ b/tls/gnutls/gtlsconnection-gnutls.c
@@ -976,9 +976,6 @@ close_internal (GTlsConnectionGnutls  *gnutls,
 {
   int ret;
 
-  if (!gnutls->priv->require_close_notify)
-    return TRUE;
-
   /* If we haven't finished the initial handshake yet, there's no
    * reason to finish it just so we can close.
    */



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