aboutsummaryrefslogtreecommitdiffstats
path: root/tools/wks-receive.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-07-05 06:41:42 +0000
committerWerner Koch <[email protected]>2019-07-05 08:33:13 +0000
commitb0e8724b102535c27a8c973ec038d340858a8eb8 (patch)
treeab76f4e91090bdfba5aabfdc976860dabee1c16d /tools/wks-receive.c
parentsm: Return the last error for pubkey decryption. (diff)
downloadgnupg-b0e8724b102535c27a8c973ec038d340858a8eb8.tar.gz
gnupg-b0e8724b102535c27a8c973ec038d340858a8eb8.zip
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 <[email protected]>
Diffstat (limited to 'tools/wks-receive.c')
-rw-r--r--tools/wks-receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wks-receive.c b/tools/wks-receive.c
index e67da628d..e5d2ed4b2 100644
--- a/tools/wks-receive.c
+++ b/tools/wks-receive.c
@@ -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");