From abf836dfcd38ab35835d8ef15ff1a2151eb3623a Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 8 May 2017 15:10:28 +0900 Subject: [PATCH] [Modify] Remove it --- websocket-sharp/Net/ServerSslConfiguration.cs | 39 +------------------ 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/websocket-sharp/Net/ServerSslConfiguration.cs b/websocket-sharp/Net/ServerSslConfiguration.cs index f2738791..43be9a77 100644 --- a/websocket-sharp/Net/ServerSslConfiguration.cs +++ b/websocket-sharp/Net/ServerSslConfiguration.cs @@ -76,8 +76,9 @@ namespace WebSocketSharp.Net /// used to authenticate the server. /// public ServerSslConfiguration (X509Certificate2 serverCertificate) - : this (serverCertificate, false, SslProtocols.Default, false) { + _serverCert = serverCertificate; + _enabledSslProtocols = SslProtocols.Default; } /// @@ -102,42 +103,6 @@ namespace WebSocketSharp.Net _serverCert = configuration._serverCert; } - /// - /// Initializes a new instance of the class - /// with the specified , - /// , - /// , - /// and . - /// - /// - /// A that represents an X.509 certificate - /// used to authenticate the server. - /// - /// - /// true if the client is asked for a certificate for authentication; - /// otherwise, false. - /// - /// - /// The enum values that represent the protocols - /// used for authentication. - /// - /// - /// true if the certificate revocation list is checked during - /// authentication; otherwise, false. - /// - public ServerSslConfiguration ( - X509Certificate2 serverCertificate, - bool clientCertificateRequired, - SslProtocols enabledSslProtocols, - bool checkCertificateRevocation - ) - { - _serverCert = serverCertificate; - _clientCertRequired = clientCertificateRequired; - _enabledSslProtocols = enabledSslProtocols; - _checkCertRevocation = checkCertificateRevocation; - } - #endregion #region Public Properties