diff options
Diffstat (limited to 'crypto/src/crmf/EncryptedValueBuilder.cs')
-rw-r--r-- | crypto/src/crmf/EncryptedValueBuilder.cs | 2 |
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) { |