summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-08-08 17:31:26 +0200
committerWerner Koch <wk@gnupg.org>2024-08-08 17:31:26 +0200
commit7d82fca43d3a009442a740af2b52396b586afed5 (patch)
treeb8bbd9a456cead2733338e24a7e87aa6c4f71176 /g10
parentdoc: Explain that sort-sigs has no effect in colon mode. (diff)
downloadgnupg2-7d82fca43d3a009442a740af2b52396b586afed5.tar.xz
gnupg2-7d82fca43d3a009442a740af2b52396b586afed5.zip
gpg: Increase compress buffer size.
* g10/compress.c (init_compress): Increase buffersize. -- This may speed up things a little bit.
Diffstat (limited to 'g10')
-rw-r--r--g10/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/compress.c b/g10/compress.c
index e787b2918..9d0ad3405 100644
--- a/g10/compress.c
+++ b/g10/compress.c
@@ -81,7 +81,7 @@ init_compress( compress_filter_context_t *zfx, z_stream *zs )
g10_exit (2);
}
- zfx->outbufsize = 8192;
+ zfx->outbufsize = 65536;
zfx->outbuf = xmalloc( zfx->outbufsize );
}