mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
bfc1181644
commit
db7661b5a2
4 changed files with 23 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue