diff options
author | Werner Koch <[email protected]> | 2018-01-24 17:29:08 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-01-24 17:38:20 +0000 |
commit | db7661b5a297a58c95fa9873d43f31d697b8feb3 (patch) | |
tree | f1f8715c207e40a273497ed5d38f8e2e34adb4d5 /common/iobuf.c | |
parent | iobuf: Increase the size of the buffer. Add iobuf_set_buffer_size. (diff) | |
download | gnupg-db7661b5a297a58c95fa9873d43f31d697b8feb3.tar.gz gnupg-db7661b5a297a58c95fa9873d43f31d697b8feb3.zip |
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 <[email protected]>
Diffstat (limited to 'common/iobuf.c')
-rw-r--r-- | common/iobuf.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 |