1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/test/src/asn1/test/CMSTest.cs b/crypto/test/src/asn1/test/CMSTest.cs
index 1afb363af..f5977da71 100644
--- a/crypto/test/src/asn1/test/CMSTest.cs
+++ b/crypto/test/src/asn1/test/CMSTest.cs
@@ -286,7 +286,8 @@ namespace Org.BouncyCastle.Asn1.Tests
get { return "CMS"; }
}
- public static void Main(
+#if !LIB
+ public static void MainOld(
string[] args)
{
ITest test = new CmsTest();
@@ -294,6 +295,7 @@ namespace Org.BouncyCastle.Asn1.Tests
Console.WriteLine(result);
}
+#endif
[Test]
public void TestFunction()
|