]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/openssh-9.4p1_Fix_zlib_version_check_for_1.3_and_future_version.patch
openssh: Update to version 9.4p1
[people/pmueller/ipfire-2.x.git] / src / patches / openssh-9.4p1_Fix_zlib_version_check_for_1.3_and_future_version.patch
CommitLineData
ccf88546
AB
1From cb4ed12ffc332d1f72d054ed92655b5f1c38f621 Mon Sep 17 00:00:00 2001
2From: Darren Tucker <dtucker@dtucker.net>
3Date: Sat, 19 Aug 2023 07:39:08 +1000
4Subject: [PATCH] Fix zlib version check for 1.3 and future version.
5
6bz#3604.
7---
8 configure.ac | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/configure.ac b/configure.ac
12index 07893e87065..e3128dfcbb4 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -1464,7 +1464,7 @@ else
16 [[
17 int a=0, b=0, c=0, d=0, n, v;
18 n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
19- if (n != 3 && n != 4)
20+ if (n < 1)
21 exit(1);
22 v = a*1000000 + b*10000 + c*100 + d;
23 fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v);
24
25