From db7661b5a297a58c95fa9873d43f31d697b8feb3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 24 Jan 2018 18:29:08 +0100 Subject: gpg: New maintainer option --debug-set-iobuf-size. * g10/gpg.c (opts): Add new option. (opt_set_iobuf_size): New var. (set_debug): Set the option. * tests/openpgp/armor.scm: Use this option to revert the buffer size to the one which used to exhibit the tested bugs. Signed-off-by: Werner Koch --- common/iobuf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/iobuf.c') diff --git a/common/iobuf.c b/common/iobuf.c index bf5977843..02c9b491c 100644 --- a/common/iobuf.c +++ b/common/iobuf.c @@ -59,9 +59,7 @@ /*-- Begin configurable part. --*/ -/* The size of the internal buffers. - NOTE: If you change this value you MUST also adjust the regression - test "armored_key_8192" in armor.test! */ +/* The standard size of the internal buffers. */ #define DEFAULT_IOBUF_BUFFER_SIZE (64*1024) /* To avoid a potential DoS with compression packets we better limit -- cgit v1.2.3