[openssh-commits] [openssh] 01/01: Fix zlib version check for 1.3 and future version.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Aug 19 07:41:39 AEST 2023


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch V_9_4
in repository openssh.

commit e99a02ec18bedb7bc77af57c3d768b13204f3aa7
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Aug 19 07:39:08 2023 +1000

    Fix zlib version check for 1.3 and future version.
    
    bz#3604.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 07893e87..e3128dfc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1464,7 +1464,7 @@ else
 	[[
 	int a=0, b=0, c=0, d=0, n, v;
 	n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
-	if (n != 3 && n != 4)
+	if (n < 1)
 		exit(1);
 	v = a*1000000 + b*10000 + c*100 + d;
 	fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v);

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list