未验证 提交 5bb755d6 编写于 作者: T Tomas Weinfurt 提交者: GitHub

remove ClientAsyncAuthenticate_SslStreamClientServerNone_UseStrongCryptoSet (#37692)

Co-authored-by: NTomas Weinfurt <furt@Shining.local>
上级 e2ed3631
......@@ -24,16 +24,6 @@ public ClientAsyncAuthenticateTest(ITestOutputHelper output)
_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 @@ public async Task ClientAsyncAuthenticate_ServerNoEncryption_NoConnect()
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 @@ public async Task ClientAsyncAuthenticate_EachSupportedProtocol_Success(SslProto
[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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册