From 83757de06084672390e94cc3dfe39a18e2c2612f Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 25 Oct 2017 17:08:33 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/WebSocket.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 2300661a..835f7cc8 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -671,10 +671,7 @@ namespace WebSocketSharp throw new InvalidOperationException (msg); } - if (_sslConfig == null) - _sslConfig = new ClientSslConfiguration (_uri.DnsSafeHost); - - return _sslConfig; + return getSslConfiguration (); } }