summary refs log tree commit diff
path: root/crypto/src/crmf/EncryptedValueBuilder.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2019-08-01 20:21:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2019-08-01 20:21:37 +0700
commit655bca08d85db23f6df082603713b5885cef2634 (patch)
treed94f4bac8635ec72886d1d147ae8def30bfbfc35 /crypto/src/crmf/EncryptedValueBuilder.cs
parentInline BuildEncodableVector to shrink recursive call stacks (diff)
downloadBouncyCastle.NET-ed25519-655bca08d85db23f6df082603713b5885cef2634.tar.xz
PCL fixes
Diffstat (limited to 'crypto/src/crmf/EncryptedValueBuilder.cs')
-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 8f220330e..d95896959 100644
--- a/crypto/src/crmf/EncryptedValueBuilder.cs
+++ b/crypto/src/crmf/EncryptedValueBuilder.cs
@@ -121,7 +121,7 @@ namespace Org.BouncyCastle.Crmf
             try
             {
                 eOut.Write(data, 0, data.Length);
-                eOut.Close();
+                Platform.Dispose(eOut);
             }
             catch (IOException e)
             {