Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David Engel <[email protected]>
  • Loading branch information
DavoudEshtehari and David-Engel authored Jul 30, 2021
1 parent dcaab15 commit abc1649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILDGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ To use this feature, you must enable the following AppContext switch at applicat

## Enabling OS secure protocols preference

Tls 1.3 has been taken out in view of the fact that the driver lacks full support. To jump back on the OS preferences as same as earlier, you must enable the following AppContext switch on application's startup:
TLS 1.3 has been excluded due to the fact that the driver lacks full support. To enable OS preferences as before, enable the following AppContext switch on application startup:

**"Switch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS"**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.Data.SqlClient.SNI
internal abstract class SNIHandle
{
/// <summary>
/// Exclude Tls 1.3 (not fully supported).
/// Exclude TLS 1.3 (not fully supported).
/// </summary>
protected readonly SslProtocols SupportedProtocols = LocalAppContextSwitches.UseSystemDefaultSecureProtocols ? SslProtocols.None : SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
//protected readonly SslProtocols SupportedProtocols = SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls
Expand Down

0 comments on commit abc1649

Please sign in to comment.