summary refs log tree commit diff
path: root/crypto/test/src/openssl
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-11-09 12:10:58 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-09 12:10:58 +0700
commit36057f66032c5e2942a8c3797be39f20693318f3 (patch)
tree966eb52e8b140121cf032181f1bfb65012b6f9f7 /crypto/test/src/openssl
parentfixed argument null message (diff)
downloadBouncyCastle.NET-ed25519-36057f66032c5e2942a8c3797be39f20693318f3.tar.xz
Add DOTNET and LIB preprocessor flags as per BouncyCastle-PCL
Diffstat (limited to 'crypto/test/src/openssl')
-rw-r--r--crypto/test/src/openssl/test/AllTests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/openssl/test/AllTests.cs b/crypto/test/src/openssl/test/AllTests.cs
index f843d0479..0cc2dcd85 100644
--- a/crypto/test/src/openssl/test/AllTests.cs
+++ b/crypto/test/src/openssl/test/AllTests.cs
@@ -2,7 +2,9 @@ using System;
 using System.IO;
 using System.Text;
 
+#if !LIB
 using NUnit.Core;
+#endif
 using NUnit.Framework;
 
 using Org.BouncyCastle.Crypto;
@@ -33,6 +35,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests
 			}
 		}
 
+#if !LIB
         public static void Main(string[] args)
         {
             Suite.Run(new NullListener(), NUnit.Core.TestFilter.Empty);
@@ -48,6 +51,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests
                 return suite;
             }
         }
+#endif
 
         [Test]
 		public void TestOpenSsl()