From: Pauli Date: Mon, 21 Jul 2025 00:07:42 +0000 (+1000) Subject: drbg: move drbg_local.h to somewhere it can be found by generated files X-Git-Tag: openssl-3.6.0-alpha1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404da0b5e7904e2f33cd229c144a506b35640af4;p=thirdparty%2Fopenssl.git drbg: move drbg_local.h to somewhere it can be found by generated files Reviewed-by: Paul Yang Reviewed-by: Shane Lontis Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/28143) --- diff --git a/providers/implementations/rands/drbg_local.h b/providers/implementations/include/prov/drbg.h similarity index 100% rename from providers/implementations/rands/drbg_local.h rename to providers/implementations/include/prov/drbg.h diff --git a/providers/implementations/rands/drbg.c b/providers/implementations/rands/drbg.c index a932263a495..d58da1abba4 100644 --- a/providers/implementations/rands/drbg.c +++ b/providers/implementations/rands/drbg.c @@ -14,7 +14,7 @@ #include #include "crypto/rand.h" #include -#include "drbg_local.h" +#include "prov/drbg.h" #include "internal/thread_once.h" #include "crypto/cryptlib.h" #include "prov/seeding.h" diff --git a/providers/implementations/rands/drbg_ctr.c.in b/providers/implementations/rands/drbg_ctr.c.in index 986eb7ed57b..1ac98550525 100644 --- a/providers/implementations/rands/drbg_ctr.c.in +++ b/providers/implementations/rands/drbg_ctr.c.in @@ -19,7 +19,7 @@ #include "prov/implementations.h" #include "prov/providercommon.h" #include "prov/provider_ctx.h" -#include "drbg_local.h" +#include "prov/drbg.h" #include "crypto/evp.h" #include "crypto/evp/evp_local.h" #include "internal/provider.h" diff --git a/providers/implementations/rands/drbg_hash.c.in b/providers/implementations/rands/drbg_hash.c.in index 22d19807e61..5252128ac84 100644 --- a/providers/implementations/rands/drbg_hash.c.in +++ b/providers/implementations/rands/drbg_hash.c.in @@ -21,7 +21,7 @@ #include "prov/provider_ctx.h" #include "prov/provider_util.h" #include "prov/implementations.h" -#include "drbg_local.h" +#include "prov/drbg.h" #include "crypto/evp.h" #include "crypto/evp/evp_local.h" #include "internal/provider.h" diff --git a/providers/implementations/rands/drbg_hmac.c.in b/providers/implementations/rands/drbg_hmac.c.in index 43b3f8766e3..4ed64ba5e3d 100644 --- a/providers/implementations/rands/drbg_hmac.c.in +++ b/providers/implementations/rands/drbg_hmac.c.in @@ -18,7 +18,7 @@ #include "prov/implementations.h" #include "prov/provider_ctx.h" #include "prov/hmac_drbg.h" -#include "drbg_local.h" +#include "prov/drbg.h" #include "crypto/evp.h" #include "crypto/evp/evp_local.h" #include "internal/provider.h" diff --git a/test/drbgtest.c b/test/drbgtest.c index f12493b5cf8..d0425e499ce 100644 --- a/test/drbgtest.c +++ b/test/drbgtest.c @@ -21,7 +21,7 @@ #include "../crypto/rand/rand_local.h" #include "../include/crypto/rand.h" #include "../include/crypto/evp.h" -#include "../providers/implementations/rands/drbg_local.h" +#include "../providers/implementations/include/prov/drbg.h" #include "../crypto/evp/evp_local.h" #if defined(_WIN32)