diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-16 22:12:00 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-03-16 22:12:00 +0700 |
commit | e7844d7f83a4d5321f02c9f169cd206149e9a184 (patch) | |
tree | c818b2ec2026b4db29e28c9e3dc6891cef41eab4 /crypto/src/tls/TlsServerProtocol.cs | |
parent | Refactoring (diff) | |
download | BouncyCastle.NET-ed25519-e7844d7f83a4d5321f02c9f169cd206149e9a184.tar.xz |
DTLS: delayed handshake hash update
- avoid clone of handshake hash
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tls/TlsServerProtocol.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/tls/TlsServerProtocol.cs b/crypto/src/tls/TlsServerProtocol.cs index 22700a277..0ab8a7a98 100644 --- a/crypto/src/tls/TlsServerProtocol.cs +++ b/crypto/src/tls/TlsServerProtocol.cs @@ -1322,7 +1322,7 @@ namespace Org.BouncyCastle.Tls TlsUtilities.VerifyCertificateVerifyClient(m_tlsServerContext, m_certificateRequest, certificateVerify, m_handshakeHash); - this.m_handshakeHash = m_handshakeHash.StopTracking(); + m_handshakeHash.StopTracking(); } /// <exception cref="IOException"/> @@ -1357,7 +1357,7 @@ namespace Org.BouncyCastle.Tls if (!ExpectCertificateVerifyMessage()) { - this.m_handshakeHash = m_handshakeHash.StopTracking(); + m_handshakeHash.StopTracking(); } } |