From 2d280660f30fe7653ebdc5d1e3d991e20c8bc92f Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 4 Oct 2021 18:18:43 +0700 Subject: Fixes for new_session_ticket - see https://github.com/bcgit/bc-csharp/issues/317 --- crypto/src/tls/TlsServerProtocol.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/src/tls/TlsServerProtocol.cs') diff --git a/crypto/src/tls/TlsServerProtocol.cs b/crypto/src/tls/TlsServerProtocol.cs index 1320cf5fa..e14fb7d70 100644 --- a/crypto/src/tls/TlsServerProtocol.cs +++ b/crypto/src/tls/TlsServerProtocol.cs @@ -1148,6 +1148,12 @@ namespace Org.BouncyCastle.Tls if (m_expectSessionTicket) { + /* + * TODO[new_session_ticket] Check the server-side rules regarding the session ID, since + * the client is going to ignore any session ID it received once it sees the + * new_session_ticket message. + */ + SendNewSessionTicketMessage(m_tlsServer.GetNewSessionTicket()); this.m_connectionState = CS_SERVER_SESSION_TICKET; } -- cgit 1.4.1