diff options
Diffstat (limited to 'crypto/src/cms/CMSProcessableInputStream.cs')
-rw-r--r-- | crypto/src/cms/CMSProcessableInputStream.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSProcessableInputStream.cs b/crypto/src/cms/CMSProcessableInputStream.cs index 6dff7c212..b2abd6f71 100644 --- a/crypto/src/cms/CMSProcessableInputStream.cs +++ b/crypto/src/cms/CMSProcessableInputStream.cs @@ -1,6 +1,7 @@ using System; using System.IO; +using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.IO; namespace Org.BouncyCastle.Cms @@ -29,7 +30,7 @@ namespace Org.BouncyCastle.Cms CheckSingleUsage(); Streams.PipeAll(input, output); - input.Close(); + Platform.Dispose(input); } [Obsolete] |