summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-06-01 17:23:59 +0200
committerDaiki Ueno <ueno@gnu.org>2020-08-31 08:06:02 +0200
commit0e131a654f9a5bf97fae21236e4e30320f360fd6 (patch)
treee9b2873529194c73bf2a45a3fdc2c13611474341
parent3c137c9f2888334596fb9f4313d4389d39afe8fd (diff)
downloadgnutls-0e131a654f9a5bf97fae21236e4e30320f360fd6.tar.gz
serv: omit upper bound of --maxearlydata option definition
It turned out that AutoGen treats numbers that exceed INT_MAX in a platform dependent way. In this case, 4294967295 (UINT_MAX) is treated as is on 64-bit platforms, while it is interpreted as "-1" on 32-bit platforms. This causes a problem when the program documentation is compiled under multilib environment. Reported by Ivan Molodetskikh in: https://bugzilla.redhat.com/show_bug.cgi?id=1841844 and the cause was identified by Anderson Toshiyuki Sasaki. Signed-off-by: Daiki Ueno <ueno@gnu.org>
-rw-r--r--src/serv-args.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serv-args.def b/src/serv-args.def
index 996fbe36ba..a584085e26 100644
--- a/src/serv-args.def
+++ b/src/serv-args.def
@@ -51,7 +51,7 @@ flag = {
flag = {
name = maxearlydata;
arg-type = number;
- arg-range = "1->4294967295";
+ arg-range = "1->";
descrip = "The maximum early data size to accept";
doc = "";
};