summary refs log tree commit diff
path: root/crypto/src/crmf
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-14 01:46:02 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-14 01:46:02 +0700
commitc4b9868dd436cb97777c8cb1b66e8715bc6f2700 (patch)
tree3dd0d81d74f72c8fc81fb3b88991fa680a2a053e /crypto/src/crmf
parentBigInteger changed to use uint[] internally (diff)
downloadBouncyCastle.NET-ed25519-c4b9868dd436cb97777c8cb1b66e8715bc6f2700.tar.xz
Remove unnecessary classes
Diffstat (limited to 'crypto/src/crmf')
-rw-r--r--crypto/src/crmf/EncryptedValueBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crmf/EncryptedValueBuilder.cs b/crypto/src/crmf/EncryptedValueBuilder.cs
index 37f38df1c..3dca9e72c 100644
--- a/crypto/src/crmf/EncryptedValueBuilder.cs
+++ b/crypto/src/crmf/EncryptedValueBuilder.cs
@@ -111,7 +111,7 @@ namespace Org.BouncyCastle.Crmf
 
         private EncryptedValue EncryptData(byte[] data)
         {
-            MemoryOutputStream bOut = new MemoryOutputStream();
+            MemoryStream bOut = new MemoryStream();
             var cipher = encryptor.BuildCipher(bOut);
 
             try