From e4d60a2c43671c7cd4c9334eab5f031bac83a33e Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 11 May 2017 15:45:44 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/ClientSslConfiguration.cs | 38 +------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/websocket-sharp/Net/ClientSslConfiguration.cs b/websocket-sharp/Net/ClientSslConfiguration.cs index 714aab62..b6abbd5f 100644 --- a/websocket-sharp/Net/ClientSslConfiguration.cs +++ b/websocket-sharp/Net/ClientSslConfiguration.cs @@ -76,8 +76,9 @@ namespace WebSocketSharp.Net /// will share a secure connection. /// public ClientSslConfiguration (string targetHost) - : this (targetHost, null, SslProtocols.Default, false) { + _targetHost = targetHost; + _enabledSslProtocols = SslProtocols.Default; } /// @@ -103,41 +104,6 @@ namespace WebSocketSharp.Net _targetHost = configuration._targetHost; } - /// - /// Initializes a new instance of the class - /// with the specified , - /// , - /// , - /// and . - /// - /// - /// A that represents the name of the server that - /// will share a secure connection. - /// - /// - /// A that contains client certificates. - /// - /// - /// The enum values that represent the protocols - /// used for authentication. - /// - /// - /// true if the certificate revocation list is checked during - /// authentication; otherwise, false. - /// - public ClientSslConfiguration ( - string targetHost, - X509CertificateCollection clientCertificates, - SslProtocols enabledSslProtocols, - bool checkCertificateRevocation - ) - { - _targetHost = targetHost; - _clientCerts = clientCertificates; - _enabledSslProtocols = enabledSslProtocols; - _checkCertRevocation = checkCertificateRevocation; - } - #endregion #region Public Properties