diff --git a/src/NetMQ.Security/NetMQ.Security.csproj b/src/NetMQ.Security/NetMQ.Security.csproj index eeb2054..7c1c69c 100644 --- a/src/NetMQ.Security/NetMQ.Security.csproj +++ b/src/NetMQ.Security/NetMQ.Security.csproj @@ -1,7 +1,7 @@  - netstandard1.6 + netstandard2.0 NetMQ.Security ../../NetMQ.snk true diff --git a/src/NetMQ.Security/V0_1/HandshakeLayer.cs b/src/NetMQ.Security/V0_1/HandshakeLayer.cs index 499a87e..cd98f1a 100644 --- a/src/NetMQ.Security/V0_1/HandshakeLayer.cs +++ b/src/NetMQ.Security/V0_1/HandshakeLayer.cs @@ -107,8 +107,7 @@ public HandshakeLayer(SecureChannel secureChannel, ConnectionEnd connectionEnd) CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA }; -#warning This method is not available in .NETStandard 1.6 - planned for 2.0; using X509Chain for now as it has the same functionality in NetFx, where X509Certificate2.Verify() calls the same internal method as X509Chain().Build(c) - VerifyCertificate = c => new X509Chain().Build(c); //c.Verify(); + VerifyCertificate = c => c.Verify(); } public SecurityParameters SecurityParameters { get; } diff --git a/tests/NetMQ.Security.Tests/NetMQ.Security.Tests.csproj b/tests/NetMQ.Security.Tests/NetMQ.Security.Tests.csproj index ce2fb57..84e0c1c 100644 --- a/tests/NetMQ.Security.Tests/NetMQ.Security.Tests.csproj +++ b/tests/NetMQ.Security.Tests/NetMQ.Security.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp1.1 + net481 NetMQ.Security.Tests ../../NetMQ.snk true