summary refs log tree commit diff
path: root/crypto/test/src/tls/test/TlsProtocolTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/tls/test/TlsProtocolTest.cs')
-rw-r--r--crypto/test/src/tls/test/TlsProtocolTest.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/test/src/tls/test/TlsProtocolTest.cs b/crypto/test/src/tls/test/TlsProtocolTest.cs
index c0287d913..aa3347fdb 100644
--- a/crypto/test/src/tls/test/TlsProtocolTest.cs
+++ b/crypto/test/src/tls/test/TlsProtocolTest.cs
@@ -24,8 +24,8 @@ namespace Org.BouncyCastle.Tls.Tests
             MockTlsClient client = new MockTlsClient(null);
             MockTlsServer server = new MockTlsServer();
 
-            Server serverRun = new Server(serverProtocol, server);
-            Thread serverThread = new Thread(new ThreadStart(serverRun.Run));
+            ServerTask serverTask = new ServerTask(serverProtocol, server);
+            Thread serverThread = new Thread(new ThreadStart(serverTask.Run));
             serverThread.Start();
 
             clientProtocol.Connect(client);
@@ -47,12 +47,12 @@ namespace Org.BouncyCastle.Tls.Tests
             serverThread.Join();
         }
 
-        internal class Server
+        internal class ServerTask
         {
             private readonly TlsServerProtocol m_serverProtocol;
             private readonly TlsServer m_server;
 
-            internal Server(TlsServerProtocol serverProtocol, TlsServer server)
+            internal ServerTask(TlsServerProtocol serverProtocol, TlsServer server)
             {
                 this.m_serverProtocol = serverProtocol;
                 this.m_server = server;