Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

[release/3.0] SqlClient fix for managed encryption connection failure #40825

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented Sep 5, 2019

Ports #40732 to release/3.0
Resolves #40476

Description

Fixes a bug in encapsulation of SSL over TDS when connecting to SQL Server using the managed SNI implementation (non-windows and uap). This is a slight rework of the original code with enhancements but is mainly targeted to revert changes done in earlier PR #35363 that caused regression.

Customer Impact

All Unix and UAP customers are impacted as they cannot connect to SQL Server with SSL enabled.

Regression

Yes. This PR fixes a regression reported in #40476 caused with PR #35363 in .NET Core SDK 3.0 Preview7.

Risk

Small. The change-set is small and selective code introduced in earlier PR #35363 is being reverted here.

Tests

No tests added as part of this change. Existing manual tests were run with Encryption enabled in connection string to validate regression issues.

@danmoseley
Copy link
Member

thanks @cheenamalhotra could you please get someone to sign off?

@danmoseley
Copy link
Member

Also, briefly did this regress because of missing test coverage, or because we didn't run the manual tests? 😺

@cheenamalhotra
Copy link
Member Author

The Manual tests were run but not with encrypted connection string.. It was missing test coverage I would say.

@danmoseley
Copy link
Member

The Manual tests were run but not with encrypted connection string.. It was missing test coverage I would say.

And this test hole is now plugged in the manual script? Just asking because tactics will ask 😺

@cheenamalhotra
Copy link
Member Author

We're taking care of the testing externally by running Manual Tests with Encryption enabled connection string.

@danmoseley
Copy link
Member

approved.

@danmoseley danmoseley merged commit dc35064 into dotnet:release/3.0 Sep 5, 2019
Anipik pushed a commit that referenced this pull request Sep 6, 2019
* update branding of rc1 to rc2

* [release/3.0] SqlClient fix for managed encryption connection failure (#40825)

* Update dependencies from https://github.com/dotnet/coreclr build 20190905.5 (#40856)

- Microsoft.NET.Sdk.IL - 3.0.0-rc1.19455.5
- Microsoft.NETCore.ILAsm - 3.0.0-rc1.19455.5
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc1.19455.5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants