From: Joshua Rogers Date: Fri, 10 Oct 2025 23:07:52 +0000 (+0800) Subject: Do not allow zstd 0.9 X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86780465afb8680f5697c3047b7f0027dd6a04cc;p=thirdparty%2Fopenssl.git Do not allow zstd 0.9 Reviewed-by: Matt Caswell Reviewed-by: Saša Nedvědický (Merged from https://github.com/openssl/openssl/pull/28843) --- 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