]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
serv: omit upper bound of --maxearlydata option definition
authorDaiki Ueno <ueno@gnu.org>
Mon, 1 Jun 2020 15:23:59 +0000 (17:23 +0200)
committerDaiki Ueno <ueno@gnu.org>
Mon, 1 Jun 2020 15:26:24 +0000 (17:26 +0200)
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>
src/serv-args.def

index 996fbe36ba27a46855edf46979edc46f11fdc99c..a584085e26217e77d5013395f1254cf1109aac68 100644 (file)
@@ -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      = "";
 };