summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/test/src/tls/test/DtlsProtocolTest.cs4
-rw-r--r--crypto/test/src/tls/test/DtlsPskProtocolTest.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/test/src/tls/test/DtlsProtocolTest.cs b/crypto/test/src/tls/test/DtlsProtocolTest.cs
index 0591b35c8..9e3f968d1 100644
--- a/crypto/test/src/tls/test/DtlsProtocolTest.cs
+++ b/crypto/test/src/tls/test/DtlsProtocolTest.cs
@@ -92,7 +92,7 @@ namespace Org.BouncyCastle.Tls.Tests
                             if (m_isShutdown)
                                 return;
 
-                            int length = m_serverTransport.Receive(buf, dummyOffset, receiveLimit, 1000);
+                            int length = m_serverTransport.Receive(buf, dummyOffset, receiveLimit, 100);
                             if (length > 0)
                             {
                                 request = verifier.VerifyRequest(clientID, buf, dummyOffset, length, m_serverTransport);
@@ -108,7 +108,7 @@ namespace Org.BouncyCastle.Tls.Tests
                         byte[] buf = new byte[dtlsTransport.GetReceiveLimit()];
                         while (!m_isShutdown)
                         {
-                            int length = dtlsTransport.Receive(buf, 0, buf.Length, 1000);
+                            int length = dtlsTransport.Receive(buf, 0, buf.Length, 100);
                             if (length >= 0)
                             {
                                 dtlsTransport.Send(buf, 0, length);
diff --git a/crypto/test/src/tls/test/DtlsPskProtocolTest.cs b/crypto/test/src/tls/test/DtlsPskProtocolTest.cs
index b30dbb847..412548442 100644
--- a/crypto/test/src/tls/test/DtlsPskProtocolTest.cs
+++ b/crypto/test/src/tls/test/DtlsPskProtocolTest.cs
@@ -74,7 +74,7 @@ namespace Org.BouncyCastle.Tls.Tests
                     byte[] buf = new byte[dtlsServer.GetReceiveLimit()];
                     while (!m_isShutdown)
                     {
-                        int length = dtlsServer.Receive(buf, 0, buf.Length, 1000);
+                        int length = dtlsServer.Receive(buf, 0, buf.Length, 100);
                         if (length >= 0)
                         {
                             dtlsServer.Send(buf, 0, length);