]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Do not allow zstd 0.9
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Fri, 10 Oct 2025 23:07:52 +0000 (07:07 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 17 Oct 2025 17:20:24 +0000 (19:20 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28843)

crypto/comp/c_zstd.c

index a4f82d2c3de8ef8a37161da3d05a701d86c10043..754df3061dfa758c544ecb9862a3f708e9cdb3c1 100644 (file)
@@ -39,8 +39,8 @@ COMP_METHOD *COMP_zstd(void);
 #  error Wrong (i.e. linux) zstd.h included.
 # endif
 
-# if ZSTD_VERSION_MAJOR != 1 && ZSTD_VERSION_MINOR < 4
-#  error Expecting version 1.4 or greater of ZSTD
+# if ZSTD_VERSION_MAJOR != 1 || ZSTD_VERSION_MINOR < 4
+#  error Expecting version 1.4 or greater of ZSTD 1.x
 # endif
 
 # ifndef ZSTD_SHARED