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_3_0_0-110-g407c530


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_0-110-g407c530
Date: Fri, 26 Aug 2011 16:17:39 +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=407c53056f717a3ef385d6e5fed6cb9cb7efacf4

The branch, master has been updated
       via  407c53056f717a3ef385d6e5fed6cb9cb7efacf4 (commit)
      from  7f97d06161f257b0bb8b1106d1b64cbb58d29a3c (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 lib/gnutls_record.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c
index 1cd87a4..c0806ab 100644
--- a/lib/gnutls_record.c
+++ b/lib/gnutls_record.c
@@ -657,13 +657,12 @@ record_add_to_buffers (gnutls_session_t session,
           break;
 
         case GNUTLS_CHANGE_CIPHER_SPEC:
-          /* this packet is now handled in the recv_int()
-           * function
-           */
-          gnutls_assert ();
-
-          return GNUTLS_E_UNEXPECTED_PACKET;
+          if (!(IS_DTLS(session)))
+            return gnutls_assert_val(GNUTLS_E_UNEXPECTED_PACKET);
+            
+          _gnutls_record_buffer_put (session, type, seq, bufel);
 
+          break;
         case GNUTLS_APPLICATION_DATA:
           if (session->internals.initial_negotiation_completed == 0)
             {


hooks/post-receive
-- 
GNU gnutls



reply via email to

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