summary refs log tree commit diff
path: root/crypto/src/util/zlib/ZInflaterInputStream.cs
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2014-08-26 17:39:02 -0400
committerOren Novotny <oren@novotny.org>2014-08-26 17:39:02 -0400
commit6dbc12162af086bbcfbd583dcaa8144d049c7fcc (patch)
tree3cf9443720ad508eb5ff615130d57fc118cb7145 /crypto/src/util/zlib/ZInflaterInputStream.cs
parentrename Crypto dir to crypto to match bc-git (diff)
parentRework the nonce-random initialisation and avoid GenerateSeed (diff)
downloadBouncyCastle.NET-ed25519-6dbc12162af086bbcfbd583dcaa8144d049c7fcc.tar.xz
Merge in bc-git to this repo
Diffstat (limited to 'crypto/src/util/zlib/ZInflaterInputStream.cs')
-rw-r--r--crypto/src/util/zlib/ZInflaterInputStream.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/crypto/src/util/zlib/ZInflaterInputStream.cs b/crypto/src/util/zlib/ZInflaterInputStream.cs

index d2d70ebd1..5a3ff5aa6 100644 --- a/crypto/src/util/zlib/ZInflaterInputStream.cs +++ b/crypto/src/util/zlib/ZInflaterInputStream.cs
@@ -114,12 +114,8 @@ namespace Org.BouncyCastle.Utilities.Zlib { public override void WriteByte(byte b) { } - protected override void Dispose(bool disposing) - { - if (disposing) - { - inp.Dispose(); - } + public override void Close() { + inp.Close(); } public override int ReadByte() {