gnutls-commit
[Top][All Lists]
Advanced

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

[SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-378-ge92f0b0


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_2_9_10-378-ge92f0b0
Date: Sat, 25 Sep 2010 07:07:10 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=e92f0b0e772e6aef156ae96629a7d9346f2d9044

The branch, master has been updated
       via  e92f0b0e772e6aef156ae96629a7d9346f2d9044 (commit)
      from  91db5c13d14b0d3a6f708df4aa4cf7e67d837888 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e92f0b0e772e6aef156ae96629a7d9346f2d9044
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Sat Sep 25 09:07:05 2010 +0200

    Added some comments and removed unused code.

-----------------------------------------------------------------------

Summary of changes:
 lib/ext_session_ticket.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/ext_session_ticket.c b/lib/ext_session_ticket.c
index c244d21..b450539 100644
--- a/lib/ext_session_ticket.c
+++ b/lib/ext_session_ticket.c
@@ -383,9 +383,11 @@ session_ticket_send_params (gnutls_session_t session,
       if (ret >= 0)
        priv = epriv.ptr;
        
+      /* no previous data. Just advertize it */
       if (ret < 0)
         return GNUTLS_E_INT_RET_0;
 
+      /* previous data had session tickets disabled. Don't advertize. Ignore. 
*/
       if (!priv->session_ticket_enable)
        return 0;
 
@@ -396,10 +398,6 @@ session_ticket_send_params (gnutls_session_t session,
 
          return priv->session_ticket_len;
        }
-      else
-       {
-         return GNUTLS_E_INT_RET_0;
-       }
     }
   return 0;
 }


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]