From 0357b15a1baf3496bfa46abc2f26e63ad72ce4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wa=C5=82ejko?= Date: Fri, 21 Jun 2019 11:31:59 +0200 Subject: [PATCH] Allow OS to choose the best protocol to use, and to block protocols that are not secure. This setting is recommended by SslProtocols Enum documentation. --- websocket-sharp/Net/ClientSslConfiguration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/ClientSslConfiguration.cs b/websocket-sharp/Net/ClientSslConfiguration.cs index 800bcb30d..3a3b3d431 100644 --- a/websocket-sharp/Net/ClientSslConfiguration.cs +++ b/websocket-sharp/Net/ClientSslConfiguration.cs @@ -64,7 +64,7 @@ public class ClientSslConfiguration /// public ClientSslConfiguration () { - _enabledSslProtocols = SslProtocols.Default; + _enabledSslProtocols = SslProtocols.None; } /// @@ -77,7 +77,7 @@ public ClientSslConfiguration () public ClientSslConfiguration (string targetHost) { _targetHost = targetHost; - _enabledSslProtocols = SslProtocols.Default; + _enabledSslProtocols = SslProtocols.None; } ///