From 4206023cd1ba392562ecc3d9b3f37f7e1b456d76 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 8 Jul 2021 17:05:55 +0700 Subject: ASN.1 updates from bc-java --- crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/cms') diff --git a/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs b/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs index 9d9e2450c..b77758d1f 100644 --- a/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs +++ b/crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs @@ -163,7 +163,7 @@ namespace Org.BouncyCastle.Cms eiGen.AddObject(CmsObjectIdentifiers.Data); Stream octetOutputStream = CmsUtilities.CreateBerOctetOutputStream( - eiGen.GetRawOutputStream(), 0, false, _bufferSize); + eiGen.GetRawOutputStream(), 0, true, _bufferSize); IMac mac = MacUtilities.GetMac(macAlgId.Algorithm); // TODO Confirm no ParametersWithRandom needed -- cgit 1.4.1