diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-01 20:21:37 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-08-01 20:21:37 +0700 |
commit | 655bca08d85db23f6df082603713b5885cef2634 (patch) | |
tree | d94f4bac8635ec72886d1d147ae8def30bfbfc35 /crypto/src/cmp | |
parent | Inline BuildEncodableVector to shrink recursive call stacks (diff) | |
download | BouncyCastle.NET-ed25519-655bca08d85db23f6df082603713b5885cef2634.tar.xz |
PCL fixes
Diffstat (limited to 'crypto/src/cmp')
-rw-r--r-- | crypto/src/cmp/ProtectedPkiMessage.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cmp/ProtectedPkiMessage.cs b/crypto/src/cmp/ProtectedPkiMessage.cs index bb5b5dc14..770fe5443 100644 --- a/crypto/src/cmp/ProtectedPkiMessage.cs +++ b/crypto/src/cmp/ProtectedPkiMessage.cs @@ -120,7 +120,7 @@ namespace Org.BouncyCastle.Cmp streamCalculator.Stream.Write(enc, 0, enc.Length); streamCalculator.Stream.Flush(); - streamCalculator.Stream.Close(); + Platform.Dispose(streamCalculator.Stream); return streamCalculator.GetResult(); } |