diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-04 18:18:43 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-04 18:18:43 +0700 |
commit | 2d280660f30fe7653ebdc5d1e3d991e20c8bc92f (patch) | |
tree | f5e24398c52a45304e2d9d0ef7ceab492ab1d471 /crypto/src/tls/TlsServerProtocol.cs | |
parent | Fix test namespaces (diff) | |
download | BouncyCastle.NET-ed25519-2d280660f30fe7653ebdc5d1e3d991e20c8bc92f.tar.xz |
Fixes for new_session_ticket
- see https://github.com/bcgit/bc-csharp/issues/317
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tls/TlsServerProtocol.cs | 6 |
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; } |