From 7d82fca43d3a009442a740af2b52396b586afed5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 8 Aug 2024 17:31:26 +0200 Subject: [PATCH] gpg: Increase compress buffer size. * g10/compress.c (init_compress): Increase buffersize. -- This may speed up things a little bit. --- g10/compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }