[release/6.0] add TLS 1.3 support to WinHttp (#58718)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 7 Sep 2021 17:46:01 +0000 (11:46 -0600)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 17:46:01 +0000 (11:46 -0600)
commit8482854c4906a25d0a007fcf2f5deac61cb40b31
treed56da0f45ca2f2489338c05f0f47f25d3732eb28
parented7178306720abea00e636058215c630a252abd8
[release/6.0] add TLS 1.3 support to WinHttp (#58718)

* add TLS 1.3 support to WinHttp

* remove extra line

* fix comment

* add check if WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_3 is supported

Co-authored-by: wfurt <tweinfurt@yahoo.com>
src/libraries/Common/src/Interop/Windows/WinHttp/Interop.winhttp_types.cs
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.SslProtocols.cs
src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpHandler.cs