[Modify] Remove it

This commit is contained in:
sta 2017-06-04 14:30:29 +09:00
parent 5346bd9d1f
commit 1039994ee8

View File

@ -677,21 +677,6 @@ namespace WebSocketSharp.Server
return true; return true;
} }
private string checkIfCertificateExists ()
{
if (!_secure)
return null;
var usr = _listener.SslConfiguration.ServerCertificate != null;
var port = EndPointListener.CertificateExists (_port, _listener.CertificateFolderPath);
if (usr && port) {
_log.Warn ("The server certificate associated with the port number already exists.");
return null;
}
return !(usr || port) ? "The secure connection requires a server certificate." : null;
}
private static string convertToString (System.Net.IPAddress address) private static string convertToString (System.Net.IPAddress address)
{ {
return address.AddressFamily == AddressFamily.InterNetworkV6 return address.AddressFamily == AddressFamily.InterNetworkV6