From e2f946292a7b62363fa9d48c9b70afa7da416b22 Mon Sep 17 00:00:00 2001 From: Tomas Weinfurt Date: Wed, 2 Jun 2021 19:10:35 +0200 Subject: add NegotiateClientCertificateAsync support on Windows (#51905) * add NegotiateClientCertificateAsync support on Windows * feedback from review and test update * throw on data during renegotiation * disable NegotiateClientCertificateAsync on Win7 * feedback from review * use Interlocked.Exchang instead of CompareExchange * add trace message --- .../tests/UnitTests/Fakes/FakeSslStream.Implementation.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libraries/System.Net.Security/tests/UnitTests') diff --git a/src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs b/src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs index 666ca16e9ef..4e146153626 100644 --- a/src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs +++ b/src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs @@ -59,6 +59,8 @@ namespace System.Net.Security return Task.Run(() => {}); } + private Task RenegotiateAsync(CancellationToken cancellationToken) => throw new PlatformNotSupportedException(); + private void ReturnReadBufferIfEmpty() { } -- cgit v1.2.3