From: Rich Salz Date: Tue, 25 May 2021 19:06:22 +0000 (-0400) Subject: Use <> for #include openssl/xxx X-Git-Tag: openssl-3.0.0-beta1~362 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6229815ab8f6e0a6e272c7a7094a061606cd0a90;p=thirdparty%2Fopenssl.git Use <> for #include openssl/xxx Reviewed-by: Shane Lontis Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15468) --- diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c index 91d6c60659b..d1d4874bcbe 100644 --- a/crypto/asn1/n_pkey.c +++ b/crypto/asn1/n_pkey.c @@ -7,8 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include "openssl/opensslconf.h" - +#include #include "internal/cryptlib.h" #include #include diff --git a/crypto/cmp/cmp_client.c b/crypto/cmp/cmp_client.c index dce7d0c010d..367ddfd207d 100644 --- a/crypto/cmp/cmp_client.c +++ b/crypto/cmp/cmp_client.c @@ -19,8 +19,7 @@ #include #include #include - -#include "openssl/cmp_util.h" +#include #define IS_CREP(t) ((t) == OSSL_CMP_PKIBODY_IP || (t) == OSSL_CMP_PKIBODY_CP \ || (t) == OSSL_CMP_PKIBODY_KUP) diff --git a/crypto/cmp/cmp_http.c b/crypto/cmp/cmp_http.c index 8da7a10fee1..6ac4212db7d 100644 --- a/crypto/cmp/cmp_http.c +++ b/crypto/cmp/cmp_http.c @@ -16,7 +16,7 @@ #include #include "internal/sockets.h" -#include "openssl/cmp.h" +#include #include "cmp_local.h" /* explicit #includes not strictly needed since implied by the above: */ diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index 93e0fa5e174..d82f0c7f2c9 100644 --- a/crypto/conf/conf_mod.c +++ b/crypto/conf/conf_mod.c @@ -15,7 +15,7 @@ #include #include #include "internal/conf.h" -#include "openssl/conf_api.h" +#include #include "internal/dso.h" #include "internal/thread_once.h" #include diff --git a/crypto/ctype.c b/crypto/ctype.c index 01850e88974..83c24a546f5 100644 --- a/crypto/ctype.c +++ b/crypto/ctype.c @@ -10,7 +10,7 @@ #include #include #include "crypto/ctype.h" -#include "openssl/ebcdic.h" +#include /* * Define the character classes for each character in the seven bit ASCII diff --git a/crypto/ec/curve448/arch_32/f_impl32.c b/crypto/ec/curve448/arch_32/f_impl32.c index 507b185f64e..8714a514221 100644 --- a/crypto/ec/curve448/arch_32/f_impl32.c +++ b/crypto/ec/curve448/arch_32/f_impl32.c @@ -11,7 +11,7 @@ */ #include "e_os.h" -#include "openssl/macros.h" +#include #include "internal/numbers.h" #ifdef UINT128_MAX diff --git a/crypto/ec/curve448/arch_64/f_impl64.c b/crypto/ec/curve448/arch_64/f_impl64.c index 764d911dfb1..7653545ee72 100644 --- a/crypto/ec/curve448/arch_64/f_impl64.c +++ b/crypto/ec/curve448/arch_64/f_impl64.c @@ -11,7 +11,7 @@ */ #include "e_os.h" -#include "openssl/macros.h" +#include #include "internal/numbers.h" #ifndef UINT128_MAX diff --git a/crypto/ec/ec_ameth.c b/crypto/ec/ec_ameth.c index 32fe692d8ae..574ad515814 100644 --- a/crypto/ec/ec_ameth.c +++ b/crypto/ec/ec_ameth.c @@ -23,7 +23,7 @@ #include "crypto/evp.h" #include "crypto/x509.h" #include -#include "openssl/param_build.h" +#include #include "ec_local.h" static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key) diff --git a/crypto/seed/seed_local.h b/crypto/seed/seed_local.h index ed3cebc6b1a..084bfa82435 100644 --- a/crypto/seed/seed_local.h +++ b/crypto/seed/seed_local.h @@ -35,7 +35,7 @@ #ifndef OSSL_CRYPTO_SEED_LOCAL_H # define OSSL_CRYPTO_SEED_LOCAL_H -# include "openssl/e_os2.h" +# include # include # ifdef SEED_LONG /* need 32-bit type */ diff --git a/include/crypto/aes_platform.h b/include/crypto/aes_platform.h index fa3b3eb8ab0..431aef908b5 100644 --- a/include/crypto/aes_platform.h +++ b/include/crypto/aes_platform.h @@ -11,7 +11,7 @@ # define OSSL_AES_PLATFORM_H # pragma once -# include "openssl/aes.h" +# include # ifdef VPAES_ASM int vpaes_set_encrypt_key(const unsigned char *userKey, int bits, diff --git a/include/internal/ktls.h b/include/internal/ktls.h index dae94226d77..b572e681c50 100644 --- a/include/internal/ktls.h +++ b/include/internal/ktls.h @@ -32,7 +32,7 @@ # include # include # include -# include "openssl/ssl3.h" +# include # ifndef TCP_RXTLS_ENABLE # define OPENSSL_NO_KTLS_RX @@ -232,9 +232,9 @@ static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, # include # include # include -# include "openssl/ssl3.h" -# include "openssl/tls1.h" -# include "openssl/evp.h" +# include +# include +# include # ifndef SOL_TLS # define SOL_TLS 282 diff --git a/providers/implementations/ciphers/cipher_camellia.h b/providers/implementations/ciphers/cipher_camellia.h index bd4debcd393..dc7516cedbf 100644 --- a/providers/implementations/ciphers/cipher_camellia.h +++ b/providers/implementations/ciphers/cipher_camellia.h @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include "openssl/camellia.h" +#include #include "prov/ciphercommon.h" #include "crypto/cmll_platform.h" diff --git a/providers/implementations/keymgmt/ecx_kmgmt.c b/providers/implementations/keymgmt/ecx_kmgmt.c index 45593be5442..506f3501739 100644 --- a/providers/implementations/keymgmt/ecx_kmgmt.c +++ b/providers/implementations/keymgmt/ecx_kmgmt.c @@ -19,7 +19,7 @@ #include #include #include "internal/param_build_set.h" -#include "openssl/param_build.h" +#include #include "crypto/ecx.h" #include "prov/implementations.h" #include "prov/providercommon.h" diff --git a/providers/implementations/keymgmt/mac_legacy_kmgmt.c b/providers/implementations/keymgmt/mac_legacy_kmgmt.c index c33ed3e2c2d..f11bcc560c8 100644 --- a/providers/implementations/keymgmt/mac_legacy_kmgmt.c +++ b/providers/implementations/keymgmt/mac_legacy_kmgmt.c @@ -17,7 +17,7 @@ #include #include #include -#include "openssl/param_build.h" +#include #include "internal/param_build_set.h" #include "prov/implementations.h" #include "prov/providercommon.h" diff --git a/test/ectest.c b/test/ectest.c index f58cd4e4bc4..c08b14be452 100644 --- a/test/ectest.c +++ b/test/ectest.c @@ -28,9 +28,9 @@ #include #include #include -#include "openssl/core_names.h" -#include "openssl/param_build.h" -#include "openssl/evp.h" +#include +#include +#include static size_t crv_len = 0; static EC_builtin_curve *curves = NULL; diff --git a/test/param_build_test.c b/test/param_build_test.c index e08bb31bf66..bfa463acc53 100644 --- a/test/param_build_test.c +++ b/test/param_build_test.c @@ -10,7 +10,7 @@ #include #include -#include "openssl/param_build.h" +#include #include "internal/nelem.h" #include "testutil.h"