summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 23:28:05 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-07-17 23:28:05 +0700
commit74e3b3e7882eb11fc2b9510b3760cca5697ad512 (patch)
treee92f2890874cc3db160aa2fc470de65c576a3439 /crypto/test
parentAdd AesX86Engine using Aes intrinsics (diff)
downloadBouncyCastle.NET-ed25519-74e3b3e7882eb11fc2b9510b3760cca5697ad512.tar.xz
Add SupportedOSPlatform attributes
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/security/test/TestDotNetUtil.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/test/src/security/test/TestDotNetUtil.cs b/crypto/test/src/security/test/TestDotNetUtil.cs
index 82cad46f1..3ca3efdbb 100644
--- a/crypto/test/src/security/test/TestDotNetUtil.cs
+++ b/crypto/test/src/security/test/TestDotNetUtil.cs
@@ -1,5 +1,8 @@
 using System;
 using System.Collections.Generic;
+#if NET5_0_OR_GREATER
+using System.Runtime.Versioning;
+#endif
 using System.Security.Cryptography;
 using SystemX509 = System.Security.Cryptography.X509Certificates;
 
@@ -17,7 +20,10 @@ using Org.BouncyCastle.X509;
 namespace Org.BouncyCastle.Security.Tests
 {
 	[TestFixture]
-	public class TestDotNetUtilities
+#if NET5_0_OR_GREATER
+    [SupportedOSPlatform("windows")]
+#endif
+    public class TestDotNetUtilities
 	{
 		[Test]
 		public void TestRsaInterop()