From 4e8bd42509fbe4f0f39d1d37d8bd8d2669bfd533 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 12 Oct 2021 23:08:14 +0700 Subject: Test fixes --- crypto/test/src/openpgp/test/IgnoreMarkerPacketInCertificatesTest.cs | 4 ++-- 1 file 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] -- cgit 1.4.1