1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/tls/DtlsServerProtocol.cs b/crypto/src/tls/DtlsServerProtocol.cs
index 5637d4106..99c47ba1b 100644
--- a/crypto/src/tls/DtlsServerProtocol.cs
+++ b/crypto/src/tls/DtlsServerProtocol.cs
@@ -313,6 +313,11 @@ namespace Org.BouncyCastle.Tls
if (state.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.
+ */
+
NewSessionTicket newSessionTicket = state.server.GetNewSessionTicket();
byte[] newSessionTicketBody = GenerateNewSessionTicket(state, newSessionTicket);
handshake.SendMessage(HandshakeType.new_session_ticket, newSessionTicketBody);
|