diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-28 16:00:23 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-28 16:00:23 +0700 |
commit | 2b15619e62a09da46a0b2c0f5279c86394a14eb5 (patch) | |
tree | 4163c0412c125e05bc664cda37263e997c499d14 /crypto/src/tls/TlsProtocol.cs | |
parent | Fix test class name (diff) | |
download | BouncyCastle.NET-ed25519-2b15619e62a09da46a0b2c0f5279c86394a14eb5.tar.xz |
Client message flow for PSK handshake
Diffstat (limited to 'crypto/src/tls/TlsProtocol.cs')
-rw-r--r-- | crypto/src/tls/TlsProtocol.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/tls/TlsProtocol.cs b/crypto/src/tls/TlsProtocol.cs index f05c09a1b..8d0e3fc0d 100644 --- a/crypto/src/tls/TlsProtocol.cs +++ b/crypto/src/tls/TlsProtocol.cs @@ -150,6 +150,7 @@ namespace Org.BouncyCastle.Tls protected short m_connectionState = CS_START; protected bool m_resumedSession = false; + protected bool m_selectedPsk13 = false; protected bool m_receivedChangeCipherSpec = false; protected bool m_expectSessionTicket = false; @@ -359,6 +360,8 @@ namespace Org.BouncyCastle.Tls this.m_handshakeHash = new DeferredHash(context); this.m_connectionState = CS_START; + this.m_resumedSession = false; + this.m_selectedPsk13 = false; context.HandshakeBeginning(peer); @@ -389,6 +392,7 @@ namespace Org.BouncyCastle.Tls this.m_serverExtensions = null; this.m_resumedSession = false; + this.m_selectedPsk13 = false; this.m_receivedChangeCipherSpec = false; this.m_expectSessionTicket = false; } |