diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-08 17:05:55 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-07-08 17:05:55 +0700 |
commit | 4206023cd1ba392562ecc3d9b3f37f7e1b456d76 (patch) | |
tree | 12b659481c05c9e93ff7dfd863e2b996cf793b52 /crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs | |
parent | Check key sizes strictly (diff) | |
download | BouncyCastle.NET-ed25519-4206023cd1ba392562ecc3d9b3f37f7e1b456d76.tar.xz |
ASN.1 updates from bc-java
Diffstat (limited to '')
-rw-r--r-- | crypto/src/cms/CMSAuthenticatedDataStreamGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |