You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2021/11/16 10:14:37 UTC
[ignite] 02/02: Cleanup
This is an automated email from the ASF dual-hosted git repository.
ptupitsyn pushed a commit to branch ignite-15915
in repository https://gitbox.apache.org/repos/asf/ignite.git
commit 25a797d89230cf57465fc8e4df83c0f77482f8fc
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Tue Nov 16 13:14:07 2021 +0300
Cleanup
---
.../Apache.Ignite.Core.Tests/Client/RawSecureSocketTest.cs | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/RawSecureSocketTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/RawSecureSocketTest.cs
index 80bc633..69b6f38 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/RawSecureSocketTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/RawSecureSocketTest.cs
@@ -70,16 +70,6 @@ namespace Apache.Ignite.Core.Tests.Client
{
var certsCollection = new X509CertificateCollection(new X509Certificate[] { LoadCertificateFile() });
-#if !NETCOREAPP
- if (clientCert)
- {
- sslStream.AuthenticateAsClient(host, certsCollection, SslProtocols.Tls, false);
- }
- else
- {
- sslStream.AuthenticateAsClient(host);
- }
-#else
if (clientCert)
{
sslStream.AuthenticateAsClient(host, certsCollection, SslProtocols.Tls12, false);
@@ -88,7 +78,6 @@ namespace Apache.Ignite.Core.Tests.Client
{
sslStream.AuthenticateAsClient(host);
}
-#endif
Assert.IsTrue(sslStream.IsAuthenticated);
Assert.AreEqual(clientCert, sslStream.IsMutuallyAuthenticated);