diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-17 18:16:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-17 18:16:36 +0700 |
commit | d7557597d18a313c7e573b11e48ba8648d8a50a9 (patch) | |
tree | c22f9efc8bb7940e1961e4d2ee2e1a50a5027747 /crypto/src/tls/DtlsClientProtocol.cs | |
parent | TLS: NotifyConnectionClosed after failure (diff) | |
download | BouncyCastle.NET-ed25519-d7557597d18a313c7e573b11e48ba8648d8a50a9.tar.xz |
DTLS: Improve DtlsVerifier performance
Diffstat (limited to 'crypto/src/tls/DtlsClientProtocol.cs')
-rw-r--r-- | crypto/src/tls/DtlsClientProtocol.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/DtlsClientProtocol.cs b/crypto/src/tls/DtlsClientProtocol.cs index 72484e178..c1bad2e6f 100644 --- a/crypto/src/tls/DtlsClientProtocol.cs +++ b/crypto/src/tls/DtlsClientProtocol.cs @@ -525,7 +525,7 @@ namespace Org.BouncyCastle.Tls ClientHello clientHello = new ClientHello(legacy_version, securityParameters.ClientRandom, session_id, - TlsUtilities.EmptyBytes, state.offeredCipherSuites, state.clientExtensions, 0); + cookie: TlsUtilities.EmptyBytes, state.offeredCipherSuites, state.clientExtensions, 0); MemoryStream buf = new MemoryStream(); clientHello.Encode(state.clientContext, buf); |