From: Tomas Mraz Date: Wed, 22 Oct 2025 13:03:24 +0000 (+0200) Subject: scrypt.c: Do not include the param with OPENSSL_NO_SCRYPT X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d29cb55515d1a17cdf0b85911e48b648e6a32261;p=thirdparty%2Fopenssl.git scrypt.c: Do not include the param with OPENSSL_NO_SCRYPT Reviewed-by: Neil Horman Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28970) --- diff --git a/providers/implementations/kdfs/scrypt.c b/providers/implementations/kdfs/scrypt.c index d9fed24c542..ad63e3d5278 100644 --- a/providers/implementations/kdfs/scrypt.c +++ b/providers/implementations/kdfs/scrypt.c @@ -22,10 +22,11 @@ #include "prov/provider_ctx.h" #include "prov/providercommon.h" #include "prov/provider_util.h" -#include "providers/implementations/kdfs/scrypt.inc" #ifndef OPENSSL_NO_SCRYPT +#include "providers/implementations/kdfs/scrypt.inc" + static OSSL_FUNC_kdf_newctx_fn kdf_scrypt_new; static OSSL_FUNC_kdf_dupctx_fn kdf_scrypt_dup; static OSSL_FUNC_kdf_freectx_fn kdf_scrypt_free;