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]
|