From 4f09b12c60d0237f97166bb28b8fa6a6d2ffd3e6 Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Sat, 11 Oct 2025 07:07:52 +0800 Subject: [PATCH] Do not allow zstd 0.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Matt Caswell Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28843) (cherry picked from commit 86780465afb8680f5697c3047b7f0027dd6a04cc) --- crypto/comp/c_zstd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/comp/c_zstd.c b/crypto/comp/c_zstd.c index a4f82d2c3de..754df3061df 100644 --- a/crypto/comp/c_zstd.c +++ b/crypto/comp/c_zstd.c @@ -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 -- 2.47.3