diff options
author | Tomas Weinfurt <tweinfurt@yahoo.com> | 2021-06-02 20:10:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 20:10:35 +0300 |
commit | e2f946292a7b62363fa9d48c9b70afa7da416b22 (patch) | |
tree | 9bb66689658f311f54e12ce6397e34bf914191ab /src/libraries/System.Net.Security/tests/UnitTests | |
parent | 1d9ff9eff0593e3b2cc83f8aeb699ff6d05d795d (diff) |
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
Diffstat (limited to 'src/libraries/System.Net.Security/tests/UnitTests')
-rw-r--r-- | src/libraries/System.Net.Security/tests/UnitTests/Fakes/FakeSslStream.Implementation.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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() { } |