summary refs log tree commit diff
path: root/crypto/src/tls/DtlsClientProtocol.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-04-15 17:21:18 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-15 17:21:18 +0700
commit6eac5db2161d1766650f951608a1df41b19c6719 (patch)
treeded2353edd6d725b4f013ebda76f0ad656428518 /crypto/src/tls/DtlsClientProtocol.cs
parentmake initial DTLS handshake resend time configurable (diff)
downloadBouncyCastle.NET-ed25519-6eac5db2161d1766650f951608a1df41b19c6719.tar.xz
Minor fixups for github_445
Diffstat (limited to 'crypto/src/tls/DtlsClientProtocol.cs')
-rw-r--r--crypto/src/tls/DtlsClientProtocol.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/tls/DtlsClientProtocol.cs b/crypto/src/tls/DtlsClientProtocol.cs
index 4a96eed23..72484e178 100644
--- a/crypto/src/tls/DtlsClientProtocol.cs
+++ b/crypto/src/tls/DtlsClientProtocol.cs
@@ -100,7 +100,8 @@ namespace Org.BouncyCastle.Tls
             SecurityParameters securityParameters = state.clientContext.SecurityParameters;
 
             DtlsReliableHandshake handshake = new DtlsReliableHandshake(state.clientContext, recordLayer,
-                state.client.GetHandshakeTimeoutMillis(), state.client.GetHandshakeResendTimeMillis(), null);
+                state.client.GetHandshakeTimeoutMillis(), TlsUtilities.GetHandshakeResendTimeMillis(state.client),
+                null);
 
             byte[] clientHelloBody = GenerateClientHello(state);