Skip to content

Commit

Permalink
Remove duplicated #include headers
Browse files Browse the repository at this point in the history
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 #18220)

(cherry picked from commit e257d3e)
  • Loading branch information
aPatchyDev authored and t8m committed Nov 21, 2022
1 parent a14eff6 commit f68b78e
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion apps/lib/apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <openssl/rand.h>
#include <openssl/bn.h>
#include <openssl/ssl.h>
#include <openssl/store.h>
#include <openssl/core_names.h>
#include "s_apps.h"
#include "apps.h"
Expand Down
1 change: 0 additions & 1 deletion apps/s_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ typedef unsigned int u_int;
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
#include <openssl/rand.h>
#include <openssl/ocsp.h>
#ifndef OPENSSL_NO_DH
Expand Down
1 change: 0 additions & 1 deletion crypto/cmp/cmp_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <stdlib.h>
#include <openssl/bio.h>
#include <openssl/buffer.h>
#include <openssl/cmp.h>
#include <openssl/err.h>

static int keep_alive(int keep_alive, int body_type)
Expand Down
1 change: 0 additions & 1 deletion crypto/cms/cms_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <openssl/bio.h>
#include <openssl/asn1.h>
#include <openssl/cms.h>
#include <openssl/cms.h>
#include "internal/sizes.h"
#include "crypto/x509.h"
#include "cms_local.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/crmf/crmf_pbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <openssl/asn1t.h>
#include <openssl/crmf.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/params.h>
#include <openssl/core_names.h>

Expand Down
1 change: 0 additions & 1 deletion crypto/dh/dh_kdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/
#include "internal/deprecated.h"

#include "internal/e_os.h"
#include "internal/e_os.h"
#include <string.h>
#include <openssl/core_names.h>
Expand Down
1 change: 0 additions & 1 deletion crypto/evp/evp_fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "internal/core.h"
#include "internal/provider.h"
#include "internal/namemap.h"
#include "internal/property.h"
#include "crypto/evp.h" /* evp_local.h needs it */
#include "evp_local.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/evp/p_seal.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/evp.h>

int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
unsigned char **ek, int *ekl, unsigned char *iv,
Expand Down
1 change: 0 additions & 1 deletion crypto/sm2/sm2_sign.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "internal/numbers.h"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/bn.h>
#include <string.h>

Expand Down
2 changes: 0 additions & 2 deletions providers/implementations/digests/sha2_prov.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)

1 change: 0 additions & 1 deletion providers/implementations/kdfs/scrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion providers/implementations/rands/seeding/rand_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion providers/implementations/signature/dsa_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion providers/implementations/signature/eddsa_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion ssl/statem/extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "internal/cryptlib.h"
#include "../ssl_local.h"
#include "statem_local.h"
#include "internal/cryptlib.h"

static int final_renegotiate(SSL *s, unsigned int context, int sent);
static int init_server_name(SSL *s, unsigned int context);
Expand Down

0 comments on commit f68b78e

Please sign in to comment.