summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-12 23:08:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-12 23:08:14 +0700
commit4e8bd42509fbe4f0f39d1d37d8bd8d2669bfd533 (patch)
treecc517e9e2dbd5f818b33cf7ca64d28d55e7b98ae /crypto
parentOID improvements (diff)
downloadBouncyCastle.NET-ed25519-4e8bd42509fbe4f0f39d1d37d8bd8d2669bfd533.tar.xz
Test fixes
Diffstat (limited to 'crypto')
-rw-r--r--crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs b/crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs
index 8196577df..1de5f8b19 100644
--- a/crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs
+++ b/crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs
@@ -66,7 +66,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests
         public override void PerformTest()
         {
             ArmoredInputStream armorIn = new ArmoredInputStream(
-                new MemoryStream(Encoding.UTF8.GetBytes(CERT_WITH_MARKER)));
+                new MemoryStream(Encoding.UTF8.GetBytes(CERT_WITH_MARKER), false));
             PgpObjectFactory objectFactory = new PgpObjectFactory(armorIn);
 
             PgpPublicKeyRing certificate = (PgpPublicKeyRing)objectFactory.NextPgpObject();
@@ -88,7 +88,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Tests
 
 		public static void Main(string[] args)
 		{
-			RunTest(new PgpArmoredTest());
+			RunTest(new IgnoreMarkerPacketInCertificatesTest());
 		}
 
 		[Test]