From d29cb55515d1a17cdf0b85911e48b648e6a32261 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 22 Oct 2025 15:03:24 +0200 Subject: [PATCH] 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) --- providers/implementations/kdfs/scrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.47.3