summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-06-01 17:23:59 +0200
committerDaiki Ueno <ueno@gnu.org>2020-06-01 17:26:24 +0200
commitcf1de82bedd01c01e70921699c84a473b08d0dab (patch)
tree1690da33b095a3aa94d6cf8f870ef8d67a461319
parent52e78f1e3a95a6d9e4f1f9a72f6d77102e80f196 (diff)
downloadgnutls-tmp-autogen-int.tar.gz
serv: omit upper bound of --maxearlydata option definitiontmp-autogen-int
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 = "";
};