]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
scrypt.c: Do not include the param with OPENSSL_NO_SCRYPT
authorTomas Mraz <tomas@openssl.org>
Wed, 22 Oct 2025 13:03:24 +0000 (15:03 +0200)
committerNeil Horman <nhorman@openssl.org>
Wed, 22 Oct 2025 20:50:21 +0000 (16:50 -0400)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/28970)

providers/implementations/kdfs/scrypt.c

index d9fed24c542ea8b9cad9920d0d957e55c5c0b0b8..ad63e3d5278cdf045bb65bc3fd80d98e2194bf4c 100644 (file)
 #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;