gnutls-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] session ticket support


From: Daiki Ueno
Subject: Re: [PATCH] session ticket support
Date: Tue, 01 Sep 2009 08:34:10 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>>>> In <address@hidden> 
>>>>>   Daiki Ueno <address@hidden> wrote:
> > Do you have an updated patch, or should I use the last one you
> > posted?

> Yes, please use the attached one.

The attached is a minor update: print the name of NewSessionTicket
handshake message instead of "Unknown Handshake packet".

Also, I noticed that Mike's test server sent a 1024-byte ticket, and
when sending it back MAX_EXT_DATA_LENGTH exceeded (which is currently
1024).  I'm not sure this is a normal case, but how about increasing the
number?

>From b72a6a15784fd7d9597051c67b5df82f091aee37 Mon Sep 17 00:00:00 2001
From: Daiki Ueno <address@hidden>
Date: Tue, 1 Sep 2009 08:02:27 +0900
Subject: [PATCH 2/2] Print NewSessionTicket handshake.

---
 lib/debug.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/debug.c b/lib/debug.c
index 4ab8d95..f35fc4e 100644
--- a/lib/debug.c
+++ b/lib/debug.c
@@ -88,6 +88,9 @@ _gnutls_handshake2str (gnutls_handshake_description_t 
handshake)
     case GNUTLS_HANDSHAKE_SUPPLEMENTAL:
       return "SUPPLEMENTAL";
       break;
+    case GNUTLS_HANDSHAKE_NEW_SESSION_TICKET:
+      return "NEW SESSION TICKET";
+      break;
     default:
       return "Unknown Handshake packet";
 
-- 
1.6.3.3

Regards,
-- 
Daiki Ueno

reply via email to

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