Don't renew ticket when the current one is OK
diff --git a/library/ssl_srv.c b/library/ssl_srv.c
index 5b421fc..1059efc 100644
--- a/library/ssl_srv.c
+++ b/library/ssl_srv.c
@@ -463,6 +463,11 @@
SSL_DEBUG_MSG( 3, ( "session successfully restored from ticket" ) );
/*
+ * Don't send a new ticket after all, this one is OK
+ */
+ ssl->handshake->new_session_ticket = 0;
+
+ /*
* Keep the session ID sent by the client, since we MUST send it back to
* inform him we're accepting the ticket (RFC 5077 section 3.4)
*/