-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use values from TlsCipherSuiteData for SslConnectionInfo on Windows #66702
Conversation
Tagging subscribers to this area: @dotnet/ncl, @vcsjones Issue DetailsContributes to #37578 On Windows, the value returned from SChannel for the key exchange algorithm type cannot be mapped 1:1 to the
|
This should also close #55570 |
<ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'"> | ||
<None Include="System\Net\Security\TlsCipherSuiteData.Lookup.cs"> | ||
<DesignTime>True</DesignTime> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>TlsCipherSuiteData.Lookup.tt</DependentUpon> | ||
</None> | ||
</ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider preserving
<AutoGen>True</AutoGen>
<DependentUpon>TlsCipherSuiteData.Lookup.tt</DependentUpon>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that should be preserved in the ItemGroup above (I removed the part of the condition that excludes Windows there)
I think that this should be blocked behind #55570 (un-collapsing ECDH/FFDH). Or they could be done together. |
very well then, closing for now. |
Contributes to #37578
On Windows, the value returned from SChannel for the key exchange algorithm type cannot be mapped 1:1 to the
ExchangeAlgorithmType
enum. This PR makesSslConnectionInfo
be retrieved fromTlsCipherSuiteData
like on Unix platforms for consistency.