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

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