diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-02-07 11:00:06 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-02-07 11:00:06 +0700 |
commit | 558d089c314c1d226af7a3a389df9191e4d0f95c (patch) | |
tree | 44bc2ce5b2cbbe1bd247e3c409e12bbe36f4502f /crypto/src/util | |
parent | fixed ECGOST co-factors for 2012 sets (diff) | |
download | BouncyCastle.NET-ed25519-558d089c314c1d226af7a3a389df9191e4d0f95c.tar.xz |
Fix setting of buffer position
Diffstat (limited to 'crypto/src/util')
-rw-r--r-- | crypto/src/util/zlib/Deflate.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/zlib/Deflate.cs b/crypto/src/util/zlib/Deflate.cs index ca0430939..99878c01d 100644 --- a/crypto/src/util/zlib/Deflate.cs +++ b/crypto/src/util/zlib/Deflate.cs @@ -1384,7 +1384,7 @@ namespace Org.BouncyCastle.Utilities.Zlib { pending_buf = new byte[lit_bufsize*4]; pending_buf_size = lit_bufsize*4; - d_buf = lit_bufsize/2; + d_buf = lit_bufsize; l_buf = (1+2)*lit_bufsize; this.level = level; |