Skip to content

Commit c0a1809

Browse files
author
JRahnama
committed
Review comments
1 parent c54d6c0 commit c0a1809

File tree

1 file changed

+1
-2
lines changed
  • src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI

1 file changed

+1
-2
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/SNIHandle.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Data.SqlClient.SNI
1818
internal abstract class SNIHandle
1919
{
2020
/// <summary>
21-
/// Exclude TLS 1.3 (not fully supported).
21+
/// Exclude TLS 1.3 in TLS-over-TDS modes (TDS 7.4 and below)
2222
/// </summary>
2323
protected static readonly SslProtocols s_supportedProtocols = LocalAppContextSwitches.UseSystemDefaultSecureProtocols ? SslProtocols.None : SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
2424
//protected readonly SslProtocols SupportedProtocols = SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
@@ -36,7 +36,6 @@ protected static async Task AuthenticateAsClientAsync(SslStream sslStream, strin
3636
{
3737
TargetHost = serverNameIndication,
3838
ApplicationProtocols = s_tdsProtocols,
39-
EnabledSslProtocols = SslProtocols.None,
4039
ClientCertificates = certificate
4140
};
4241
await sslStream.AuthenticateAsClientAsync(sslClientOptions, token);

0 commit comments

Comments
 (0)