summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/util/zlib/Deflate.cs2
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;