aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2026-05-15 09:49:46 +0200
committerNIIBE Yutaka <[email protected]>2026-05-15 09:49:46 +0200
commitc848e90334ed08fad0b679fdd02c26a9cc44e907 (patch)
treeb9a6937c6c419286d3ba74d218b26f99bec470c6 /src
parentw32:tests: Use pinentry executable instead of script. (diff)
downloadgpgme-c848e90334ed08fad0b679fdd02c26a9cc44e907.tar.gz
gpgme-c848e90334ed08fad0b679fdd02c26a9cc44e907.zip
engine:gpgconf: Increase the buffer size.
* src/engine-gpgconf.c (gpgconf_read): Update to 2048. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/engine-gpgconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-gpgconf.c b/src/engine-gpgconf.c
index f7d1f3bb..9dacffd1 100644
--- a/src/engine-gpgconf.c
+++ b/src/engine-gpgconf.c
@@ -265,7 +265,7 @@ gpgconf_read (void *engine, const char *arg1, char *arg2,
return gpg_error_from_syserror ();
}
- linebufsize = 1024; /* Usually enough for conf lines. */
+ linebufsize = 2048; /* Usually enough for conf lines. */
linebuf = malloc (linebufsize);
if (!linebuf)
{