gnutls: update for require-close-notify semantics change
authorDan Winship <danw@gnome.org>
Mon, 6 Dec 2010 12:03:24 +0000 (13:03 +0100)
committerDan Winship <danw@gnome.org>
Mon, 6 Dec 2010 21:24:07 +0000 (22:24 +0100)
tls/gnutls/gtlsconnection-gnutls.c

index 14634ee..b812b18 100644 (file)
@@ -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.
    */