From 5bb755d65e76e95eabbf8a17d59bf94cb42e30ef Mon Sep 17 00:00:00 2001 From: Tomas Weinfurt Date: Wed, 10 Jun 2020 02:43:44 -0700 Subject: [PATCH] remove ClientAsyncAuthenticate_SslStreamClientServerNone_UseStrongCryptoSet (#37692) Co-authored-by: Tomas Weinfurt --- .../FunctionalTests/ClientAsyncAuthenticateTest.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs b/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs index 9926e08102d..3776417cfc0 100644 --- a/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/ClientAsyncAuthenticateTest.cs @@ -24,16 +24,6 @@ namespace System.Net.Security.Tests _log = output; } - [Fact] - public async Task ClientAsyncAuthenticate_SslStreamClientServerNone_UseStrongCryptoSet() - { - SslProtocols protocol = SslProtocols.None; - await ClientAsyncSslHelper(protocol, protocol); - - // Additional manual verification. - // Step into the code and verify that the 'SCH_USE_STRONG_CRYPTO' flag is being set. - } - [Fact] public async Task ClientAsyncAuthenticate_ServerRequireEncryption_ConnectWithEncryption() { @@ -53,7 +43,7 @@ namespace System.Net.Security.Tests await Assert.ThrowsAsync( () => ClientAsyncSslHelper( EncryptionPolicy.NoEncryption, - SslProtocolSupport.DefaultSslProtocols, SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12 )); + SslProtocolSupport.DefaultSslProtocols, SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12)); } [Theory] @@ -67,7 +57,7 @@ namespace System.Net.Security.Tests [PlatformSpecific(TestPlatforms.Windows)] public async Task ClientAsyncAuthenticate_Ssl2WithSelf_Success() { - // Test Ssl2 against itself. This is a standalone test as even on versions where Windows supports Ssl2, + // Test Ssl2 against itself. This is a standalone test as even on versions where Windows supports Ssl2, // it appears to have rules around not using it when other protocols are mentioned. if (PlatformDetection.SupportsSsl2) {