summary refs log tree commit diff
path: root/crypto/src/tls/TlsServerProtocol.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-08 23:19:24 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-08 23:19:24 +0700
commit2d71de0765cbc92f064a29e03aab8ff88725deb4 (patch)
treed7ed01c72c460299c04d1cd3517ba676133dbd11 /crypto/src/tls/TlsServerProtocol.cs
parentRefactoring in DTLS (diff)
downloadBouncyCastle.NET-ed25519-2d71de0765cbc92f064a29e03aab8ff88725deb4.tar.xz
DTLS: refactoring around extended_master_secret
- especially the interaction with session resumption and the methods relating to use of EMS.
Diffstat (limited to '')
-rw-r--r--crypto/src/tls/TlsServerProtocol.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/TlsServerProtocol.cs b/crypto/src/tls/TlsServerProtocol.cs
index def8ae49b..efe055f1b 100644
--- a/crypto/src/tls/TlsServerProtocol.cs
+++ b/crypto/src/tls/TlsServerProtocol.cs
@@ -718,7 +718,7 @@ namespace Org.BouncyCastle.Tls
 
             ApplyMaxFragmentLengthExtension(securityParameters.MaxFragmentLength);
 
-            return new ServerHello(serverVersion, securityParameters.ServerRandom, m_tlsSession.SessionID,
+            return new ServerHello(serverVersion, securityParameters.ServerRandom, securityParameters.SessionID,
                 securityParameters.CipherSuite, m_serverExtensions);
         }