Blame SOURCES/gnutls-3.6.14-autogen-int.patch

60bd2e
From cf1de82bedd01c01e70921699c84a473b08d0dab Mon Sep 17 00:00:00 2001
60bd2e
From: Daiki Ueno <ueno@gnu.org>
60bd2e
Date: Mon, 1 Jun 2020 17:23:59 +0200
60bd2e
Subject: [PATCH] serv: omit upper bound of --maxearlydata option definition
60bd2e
60bd2e
It turned out that AutoGen treats numbers that exceed INT_MAX in a
60bd2e
platform dependent way.  In this case, 4294967295 (UINT_MAX) is
60bd2e
treated as is on 64-bit platforms, while it is interpreted as "-1" on
60bd2e
32-bit platforms.  This causes a problem when the program
60bd2e
documentation is compiled under multilib environment.
60bd2e
60bd2e
Reported by Ivan Molodetskikh in:
60bd2e
https://bugzilla.redhat.com/show_bug.cgi?id=1841844
60bd2e
and the cause was identified by Anderson Toshiyuki Sasaki.
60bd2e
60bd2e
Signed-off-by: Daiki Ueno <ueno@gnu.org>
60bd2e
---
60bd2e
 src/serv-args.def | 2 +-
60bd2e
 1 file changed, 1 insertion(+), 1 deletion(-)
60bd2e
60bd2e
diff --git a/src/serv-args.def b/src/serv-args.def
60bd2e
index 996fbe36b..a584085e2 100644
60bd2e
--- a/src/serv-args.def
60bd2e
+++ b/src/serv-args.def
60bd2e
@@ -51,7 +51,7 @@ flag = {
60bd2e
 flag = {
60bd2e
     name      = maxearlydata;
60bd2e
     arg-type  = number;
60bd2e
-    arg-range = "1->4294967295";
60bd2e
+    arg-range = "1->";
60bd2e
     descrip   = "The maximum early data size to accept";
60bd2e
     doc      = "";
60bd2e
 };
60bd2e
-- 
60bd2e
2.26.2
60bd2e