diff options
Diffstat (limited to 'crypto/src/crypto/tls/DtlsClientProtocol.cs')
-rw-r--r-- | crypto/src/crypto/tls/DtlsClientProtocol.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/crypto/tls/DtlsClientProtocol.cs b/crypto/src/crypto/tls/DtlsClientProtocol.cs index 4c08bbcfc..fe6381dfa 100644 --- a/crypto/src/crypto/tls/DtlsClientProtocol.cs +++ b/crypto/src/crypto/tls/DtlsClientProtocol.cs @@ -82,7 +82,8 @@ namespace Org.BouncyCastle.Crypto.Tls internal virtual DtlsTransport ClientHandshake(ClientHandshakeState state, DtlsRecordLayer recordLayer) { SecurityParameters securityParameters = state.clientContext.SecurityParameters; - DtlsReliableHandshake handshake = new DtlsReliableHandshake(state.clientContext, recordLayer); + DtlsReliableHandshake handshake = new DtlsReliableHandshake(state.clientContext, recordLayer, + state.client.GetHandshakeTimeoutMillis()); byte[] clientHelloBody = GenerateClientHello(state, state.client); |