summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
authorJHH20 <jhh.20@icloud.com>2022-05-02 19:50:04 +0900
committerPauli <pauli@openssl.org>2022-05-04 13:46:10 +1000
commite257d3e76ffb848b7607b04057257323dc51c3b4 (patch)
tree16b56cbe3ff608862ff7e9d6e17d5b3f5af27afe /providers
parentcac250755efd0c40cc6127a0e4baceb8d226c7e3 (diff)
downloadopenssl-new-e257d3e76ffb848b7607b04057257323dc51c3b4.tar.gz
Remove duplicated #include headers
CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18220)
Diffstat (limited to 'providers')
-rw-r--r--providers/implementations/digests/sha2_prov.c2
-rw-r--r--providers/implementations/kdfs/scrypt.c1
-rw-r--r--providers/implementations/rands/seeding/rand_unix.c1
-rw-r--r--providers/implementations/signature/dsa_sig.c1
-rw-r--r--providers/implementations/signature/eddsa_sig.c1
5 files changed, 0 insertions, 6 deletions
diff --git a/providers/implementations/digests/sha2_prov.c b/providers/implementations/digests/sha2_prov.c
index 3b731796bd..6f9c41a3a6 100644
--- a/providers/implementations/digests/sha2_prov.c
+++ b/providers/implementations/digests/sha2_prov.c
@@ -17,7 +17,6 @@
#include <openssl/core_dispatch.h>
#include <openssl/evp.h>
#include <openssl/sha.h>
-#include <openssl/evp.h>
#include <openssl/params.h>
#include <openssl/core_names.h>
#include "prov/digestcommon.h"
@@ -92,4 +91,3 @@ IMPLEMENT_digest_functions(sha512_224, SHA512_CTX,
IMPLEMENT_digest_functions(sha512_256, SHA512_CTX,
SHA512_CBLOCK, SHA256_DIGEST_LENGTH, SHA2_FLAGS,
sha512_256_init, SHA512_Update, SHA512_Final)
-
diff --git a/providers/implementations/kdfs/scrypt.c b/providers/implementations/kdfs/scrypt.c
index 7a8679f7a4..e914eef992 100644
--- a/providers/implementations/kdfs/scrypt.c
+++ b/providers/implementations/kdfs/scrypt.c
@@ -20,7 +20,6 @@
#include "prov/implementations.h"
#include "prov/provider_ctx.h"
#include "prov/providercommon.h"
-#include "prov/implementations.h"
#include "prov/provider_util.h"
#ifndef OPENSSL_NO_SCRYPT
diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c
index c9f0c90ad3..11dacc02a9 100644
--- a/providers/implementations/rands/seeding/rand_unix.c
+++ b/providers/implementations/rands/seeding/rand_unix.c
@@ -17,7 +17,6 @@
#include <openssl/crypto.h>
#include "crypto/rand_pool.h"
#include "crypto/rand.h"
-#include <stdio.h>
#include "internal/dso.h"
#include "prov/seeding.h"
diff --git a/providers/implementations/signature/dsa_sig.c b/providers/implementations/signature/dsa_sig.c
index 28fd7c498e..abcee00284 100644
--- a/providers/implementations/signature/dsa_sig.c
+++ b/providers/implementations/signature/dsa_sig.c
@@ -22,7 +22,6 @@
#include <openssl/dsa.h>
#include <openssl/params.h>
#include <openssl/evp.h>
-#include <openssl/err.h>
#include <openssl/proverr.h>
#include "internal/nelem.h"
#include "internal/sizes.h"
diff --git a/providers/implementations/signature/eddsa_sig.c b/providers/implementations/signature/eddsa_sig.c
index eb1a769128..41b0eb172f 100644
--- a/providers/implementations/signature/eddsa_sig.c
+++ b/providers/implementations/signature/eddsa_sig.c
@@ -13,7 +13,6 @@
#include <openssl/err.h>
#include <openssl/params.h>
#include <openssl/evp.h>
-#include <openssl/err.h>
#include <openssl/proverr.h>
#include "internal/nelem.h"
#include "internal/sizes.h"