summary refs log tree commit diff
path: root/crypto/src/tls/TlsServerProtocol.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-04 18:18:43 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-04 18:18:43 +0700
commit2d280660f30fe7653ebdc5d1e3d991e20c8bc92f (patch)
treef5e24398c52a45304e2d9d0ef7ceab492ab1d471 /crypto/src/tls/TlsServerProtocol.cs
parentFix test namespaces (diff)
downloadBouncyCastle.NET-ed25519-2d280660f30fe7653ebdc5d1e3d991e20c8bc92f.tar.xz
Fixes for new_session_ticket
- see https://github.com/bcgit/bc-csharp/issues/317
Diffstat (limited to 'crypto/src/tls/TlsServerProtocol.cs')
-rw-r--r--crypto/src/tls/TlsServerProtocol.cs6
1 files changed, 6 insertions, 0 deletions
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;
                     }