[Modify] Use None instead of Default

This commit is contained in:
sta 2020-12-02 19:42:06 +09:00
parent d1f8a508c2
commit b401fef5e8

View File

@ -63,7 +63,7 @@ namespace WebSocketSharp.Net
/// </summary>
public ServerSslConfiguration ()
{
_enabledSslProtocols = SslProtocols.Default;
_enabledSslProtocols = SslProtocols.None;
}
/// <summary>
@ -77,7 +77,7 @@ namespace WebSocketSharp.Net
public ServerSslConfiguration (X509Certificate2 serverCertificate)
{
_serverCert = serverCertificate;
_enabledSslProtocols = SslProtocols.Default;
_enabledSslProtocols = SslProtocols.None;
}
/// <summary>
@ -191,7 +191,7 @@ namespace WebSocketSharp.Net
/// the protocols used for authentication.
/// </para>
/// <para>
/// The default value is <see cref="SslProtocols.Default"/>.
/// The default value is <see cref="SslProtocols.None"/>.
/// </para>
/// </value>
public SslProtocols EnabledSslProtocols {