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

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