[Modify] Use None instead of Default

This commit is contained in:
sta 2020-11-24 19:43:13 +09:00
parent 8e14fddd51
commit 9f6eaebd1f

View File

@ -64,7 +64,7 @@ namespace WebSocketSharp.Net
/// </summary> /// </summary>
public ClientSslConfiguration () public ClientSslConfiguration ()
{ {
_enabledSslProtocols = SslProtocols.Default; _enabledSslProtocols = SslProtocols.None;
} }
/// <summary> /// <summary>
@ -77,7 +77,7 @@ namespace WebSocketSharp.Net
public ClientSslConfiguration (string targetHost) public ClientSslConfiguration (string targetHost)
{ {
_targetHost = targetHost; _targetHost = targetHost;
_enabledSslProtocols = SslProtocols.Default; _enabledSslProtocols = SslProtocols.None;
} }
/// <summary> /// <summary>
@ -195,7 +195,7 @@ namespace WebSocketSharp.Net
/// the protocols used for authentication. /// the protocols used for authentication.
/// </para> /// </para>
/// <para> /// <para>
/// The default value is <see cref="SslProtocols.Default"/>. /// The default value is <see cref="SslProtocols.None"/>.
/// </para> /// </para>
/// </value> /// </value>
public SslProtocols EnabledSslProtocols { public SslProtocols EnabledSslProtocols {