remove ClientAsyncAuthenticate_SslStreamClientServerNone_UseStrongCryptoSet (#37692)

Co-authored-by: Tomas Weinfurt <[email protected]>
This commit is contained in:
Tomas WeinfurtandTomas Weinfurt authored and GitHub committed 2020-06-10 05:43:44 -04:00
1 parent e2ed3631b9
commit 5bb755d65e
1 file changed
+2 -12
@@ -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<AuthenticationException>(
() => 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)
{