mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
wkd: Change client/server limit back to 64 KiB
* tools/wks-receive.c (decrypt_data): Change limit. -- The former limit ~1MiB of was used during development. Signed-off-by: Werner Koch <wk@gnupg.org> (cherry picked from commit b0e8724b102535c27a8c973ec038d340858a8eb8)
This commit is contained in:
parent
efb6e08ea2
commit
6396f8d115
@ -96,7 +96,7 @@ decrypt_data (receive_ctx_t ctx)
|
||||
/* We limit the output to 64 KiB to avoid DoS using compression
|
||||
* tricks. A regular client will anyway only send a minimal key;
|
||||
* that is one w/o key signatures and attribute packets. */
|
||||
ccparray_put (&ccp, "--max-output=0xf0000"); /*FIXME: Change s/F/1/ */
|
||||
ccparray_put (&ccp, "--max-output=0x10000");
|
||||
ccparray_put (&ccp, "--batch");
|
||||
if (opt.verbose)
|
||||
ccparray_put (&ccp, "--verbose");
|
||||
|
Loading…
x
Reference in New Issue
Block a user