summary refs log tree commit diff
path: root/crypto/test/src/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/openssl')
-rw-r--r--crypto/test/src/openssl/test/AllTests.cs2
-rw-r--r--crypto/test/src/openssl/test/ReaderTest.cs6
-rw-r--r--crypto/test/src/openssl/test/WriterTest.cs2
3 files changed, 5 insertions, 5 deletions
diff --git a/crypto/test/src/openssl/test/AllTests.cs b/crypto/test/src/openssl/test/AllTests.cs

index 0cc2dcd85..b1898cbc7 100644 --- a/crypto/test/src/openssl/test/AllTests.cs +++ b/crypto/test/src/openssl/test/AllTests.cs
@@ -36,7 +36,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests } #if !LIB - public static void Main(string[] args) + public static void MainOld(string[] args) { Suite.Run(new NullListener(), NUnit.Core.TestFilter.Empty); } diff --git a/crypto/test/src/openssl/test/ReaderTest.cs b/crypto/test/src/openssl/test/ReaderTest.cs
index c0be5c848..9a45968cb 100644 --- a/crypto/test/src/openssl/test/ReaderTest.cs +++ b/crypto/test/src/openssl/test/ReaderTest.cs
@@ -1,6 +1,6 @@ using System; using System.IO; - +using System.Reflection; using NUnit.Framework; using Org.BouncyCastle.Asn1.Cms; @@ -320,7 +320,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests Fail("Didn't find OpenSSL key"); } - if (!expectedPrivKeyType.IsInstanceOfType(kp.Private)) + if (!expectedPrivKeyType.GetTypeInfo().IsInstanceOfType(kp.Private)) { Fail("Returned key not of correct type"); } @@ -362,7 +362,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests return new PemReader(tr, pGet); } - public static void Main( + public static void MainOld( string[] args) { RunTest(new ReaderTest()); diff --git a/crypto/test/src/openssl/test/WriterTest.cs b/crypto/test/src/openssl/test/WriterTest.cs
index 0d7887771..a66fd22ed 100644 --- a/crypto/test/src/openssl/test/WriterTest.cs +++ b/crypto/test/src/openssl/test/WriterTest.cs
@@ -168,7 +168,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests } } - public static void Main( + public static void MainOld( string[] args) { RunTest(new WriterTest());