diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2021-02-20 23:39:30 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-23 18:08:25 +0100 |
commit | f2a6f83862be3e20260b708288a8f7d0928e9018 (patch) | |
tree | 1e819cdc004040e668646cb9274bdf64105685d2 /providers/implementations | |
parent | 2da163cb73eabac7af093747ecee26ed76aa364a (diff) |
Cleanup : directly include of `internal/nelem.h` when required.
And so clean a few useless includes
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19721)
Diffstat (limited to 'providers/implementations')
-rw-r--r-- | providers/implementations/encode_decode/decode_der2key.c | 1 | ||||
-rw-r--r-- | providers/implementations/kdfs/x942kdf.c | 1 | ||||
-rw-r--r-- | providers/implementations/kem/rsa_kem.c | 1 | ||||
-rw-r--r-- | providers/implementations/rands/seeding/rand_unix.c | 1 | ||||
-rw-r--r-- | providers/implementations/rands/seeding/rand_vms.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/providers/implementations/encode_decode/decode_der2key.c b/providers/implementations/encode_decode/decode_der2key.c index d4d3731460..6ea8cc0550 100644 --- a/providers/implementations/encode_decode/decode_der2key.c +++ b/providers/implementations/encode_decode/decode_der2key.c @@ -35,6 +35,7 @@ #include "prov/bio.h" #include "prov/implementations.h" #include "endecoder_local.h" +#include "internal/nelem.h" struct der2key_ctx_st; /* Forward declaration */ typedef int check_key_fn(void *, struct der2key_ctx_st *ctx); diff --git a/providers/implementations/kdfs/x942kdf.c b/providers/implementations/kdfs/x942kdf.c index 5e5bf68d60..78bd8d235e 100644 --- a/providers/implementations/kdfs/x942kdf.c +++ b/providers/implementations/kdfs/x942kdf.c @@ -17,6 +17,7 @@ #include <openssl/proverr.h> #include "internal/packet.h" #include "internal/der.h" +#include "internal/nelem.h" #include "prov/provider_ctx.h" #include "prov/providercommon.h" #include "prov/implementations.h" diff --git a/providers/implementations/kem/rsa_kem.c b/providers/implementations/kem/rsa_kem.c index 882cf16125..365ae3d7d6 100644 --- a/providers/implementations/kem/rsa_kem.c +++ b/providers/implementations/kem/rsa_kem.c @@ -23,6 +23,7 @@ #include <openssl/err.h> #include "crypto/rsa.h" #include <openssl/proverr.h> +#include "internal/nelem.h" #include "prov/provider_ctx.h" #include "prov/implementations.h" #include "prov/securitycheck.h" diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c index 363f3b814e..fa7ad6cfeb 100644 --- a/providers/implementations/rands/seeding/rand_unix.c +++ b/providers/implementations/rands/seeding/rand_unix.c @@ -18,6 +18,7 @@ #include "crypto/rand_pool.h" #include "crypto/rand.h" #include "internal/dso.h" +#include "internal/nelem.h" #include "prov/seeding.h" #ifdef __linux diff --git a/providers/implementations/rands/seeding/rand_vms.c b/providers/implementations/rands/seeding/rand_vms.c index 07814a43dc..4ff879491a 100644 --- a/providers/implementations/rands/seeding/rand_vms.c +++ b/providers/implementations/rands/seeding/rand_vms.c @@ -12,6 +12,7 @@ #define __NEW_STARLET 1 /* New starlet definitions since VMS 7.0 */ #include <unistd.h> #include "internal/cryptlib.h" +#include "internal/nelem.h" #include <openssl/rand.h> #include "crypto/rand.h" #include "crypto/rand_pool.h" |