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