From: Rich Salz Date: Tue, 22 Aug 2017 12:35:43 +0000 (-0400) Subject: Use "" not <> for internal/ includes X-Git-Tag: OpenSSL_1_1_1-pre1~791 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=176db6dc51ec0a972bfa8836cfdab8f6767c978a;p=thirdparty%2Fopenssl.git Use "" not <> for internal/ includes Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4217) --- diff --git a/crypto/asn1/bio_asn1.c b/crypto/asn1/bio_asn1.c index e28ab27767a..9146fb744b4 100644 --- a/crypto/asn1/bio_asn1.c +++ b/crypto/asn1/bio_asn1.c @@ -14,7 +14,7 @@ */ #include -#include +#include "internal/bio.h" #include #include "internal/cryptlib.h" diff --git a/crypto/async/async.c b/crypto/async/async.c index 8c699af78e3..1359b5061a5 100644 --- a/crypto/async/async.c +++ b/crypto/async/async.c @@ -19,7 +19,7 @@ #include "async_locl.h" #include -#include +#include "internal/cryptlib_int.h" #include #define ASYNC_JOB_RUNNING 0 diff --git a/crypto/async/async_locl.h b/crypto/async/async_locl.h index f0ac05a3db7..d7790293f74 100644 --- a/crypto/async/async_locl.h +++ b/crypto/async/async_locl.h @@ -20,7 +20,7 @@ # include #endif -#include +#include "internal/async.h" #include typedef struct async_ctx_st async_ctx; diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index 6d854927fe9..b2cd83c3929 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -16,7 +16,7 @@ #ifndef OPENSSL_NO_SOCK #include #include -#include +#include "internal/thread_once.h" CRYPTO_RWLOCK *bio_lookup_lock; static CRYPTO_ONCE bio_lookup_init = CRYPTO_ONCE_STATIC_INIT; diff --git a/crypto/bio/bio_lcl.h b/crypto/bio/bio_lcl.h index f7de429cbb5..337621be7f5 100644 --- a/crypto/bio/bio_lcl.h +++ b/crypto/bio/bio_lcl.h @@ -87,7 +87,7 @@ union bio_addr_st { /* END BIO_ADDRINFO/BIO_ADDR stuff. */ #include "internal/cryptlib.h" -#include +#include "internal/bio.h" typedef struct bio_f_buffer_ctx_struct { /*- diff --git a/crypto/bio/bio_meth.c b/crypto/bio/bio_meth.c index 3cbac5bf85d..be6420c028f 100644 --- a/crypto/bio/bio_meth.c +++ b/crypto/bio/bio_meth.c @@ -8,7 +8,7 @@ */ #include "bio_lcl.h" -#include +#include "internal/thread_once.h" CRYPTO_RWLOCK *bio_type_lock = NULL; static CRYPTO_ONCE bio_type_init = CRYPTO_ONCE_STATIC_INIT; diff --git a/crypto/bn/bn_srp.c b/crypto/bn/bn_srp.c index 58b1691eee7..a68a4ac49f9 100644 --- a/crypto/bn/bn_srp.c +++ b/crypto/bn/bn_srp.c @@ -13,7 +13,7 @@ #ifndef OPENSSL_NO_SRP #include -#include +#include "internal/bn_srp.h" # if (BN_BYTES == 8) # if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__) diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c index 3532114917c..74759c56d5e 100644 --- a/crypto/conf/conf_lib.c +++ b/crypto/conf/conf_lib.c @@ -9,7 +9,7 @@ #include #include -#include +#include "internal/conf.h" #include #include #include diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c index bed95abea45..0815109d819 100644 --- a/crypto/conf/conf_sap.c +++ b/crypto/conf/conf_sap.c @@ -10,7 +10,7 @@ #include #include #include "internal/cryptlib.h" -#include +#include "internal/conf.h" #include #include #include diff --git a/crypto/engine/eng_int.h b/crypto/engine/eng_int.h index 0af8b8f8f91..60fdf820f05 100644 --- a/crypto/engine/eng_int.h +++ b/crypto/engine/eng_int.h @@ -12,8 +12,8 @@ # define HEADER_ENGINE_INT_H # include "internal/cryptlib.h" -# include -# include +# include "internal/engine.h" +# include "internal/thread_once.h" # include "internal/refcount.h" #ifdef __cplusplus diff --git a/crypto/engine/eng_openssl.c b/crypto/engine/eng_openssl.c index dce5cccfd84..02885f46801 100644 --- a/crypto/engine/eng_openssl.c +++ b/crypto/engine/eng_openssl.c @@ -11,7 +11,7 @@ #include #include #include "internal/cryptlib.h" -#include +#include "internal/engine.h" #include #include #include diff --git a/crypto/engine/eng_rdrand.c b/crypto/engine/eng_rdrand.c index b3defcbe4fd..7be64e3fd4e 100644 --- a/crypto/engine/eng_rdrand.c +++ b/crypto/engine/eng_rdrand.c @@ -11,7 +11,7 @@ #include #include -#include +#include "internal/engine.h" #include #include #include diff --git a/crypto/err/err.c b/crypto/err/err.c index eec071236eb..ab08435af1e 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -10,16 +10,16 @@ #include #include #include -#include -#include -#include +#include "internal/cryptlib_int.h" +#include "internal/err.h" +#include "internal/err_int.h" #include #include #include #include #include #include -#include +#include "internal/thread_once.h" static int err_load_strings(const ERR_STRING_DATA *str); diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c index 76edfbd37bb..58a0691df7c 100644 --- a/crypto/evp/c_allc.c +++ b/crypto/evp/c_allc.c @@ -10,7 +10,7 @@ #include #include "internal/cryptlib.h" #include -#include +#include "internal/evp_int.h" #include #include diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c index 86b2fc8584d..088f65cd80a 100644 --- a/crypto/evp/c_alld.c +++ b/crypto/evp/c_alld.c @@ -10,7 +10,7 @@ #include #include "internal/cryptlib.h" #include -#include +#include "internal/evp_int.h" #include #include diff --git a/crypto/evp/e_rc5.c b/crypto/evp/e_rc5.c index f69ba5b2f53..a2f26d8c5f2 100644 --- a/crypto/evp/e_rc5.c +++ b/crypto/evp/e_rc5.c @@ -13,7 +13,7 @@ #ifndef OPENSSL_NO_RC5 # include -# include +# include "internal/evp_int.h" # include # include "evp_locl.h" # include diff --git a/crypto/evp/names.c b/crypto/evp/names.c index a92be1fedf1..41c3ceee3ad 100644 --- a/crypto/evp/names.c +++ b/crypto/evp/names.c @@ -10,7 +10,7 @@ #include #include "internal/cryptlib.h" #include -#include +#include "internal/objects.h" #include #include "internal/evp_int.h" diff --git a/crypto/evp/pbe_scrypt.c b/crypto/evp/pbe_scrypt.c index 101bb1edbd4..a52cd751f6f 100644 --- a/crypto/evp/pbe_scrypt.c +++ b/crypto/evp/pbe_scrypt.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "internal/numbers.h" #ifndef OPENSSL_NO_SCRYPT diff --git a/crypto/init.c b/crypto/init.c index fc01c827f38..c8f0a3f1ee4 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -7,24 +7,24 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/cryptlib_int.h" #include -#include -#include +#include "internal/rand_int.h" +#include "internal/bio.h" #include -#include -#include -#include -#include -#include -#include -#include -#include +#include "internal/evp_int.h" +#include "internal/conf.h" +#include "internal/async.h" +#include "internal/engine.h" +#include "internal/comp.h" +#include "internal/err.h" +#include "internal/err_int.h" +#include "internal/objects.h" #include #include -#include -#include -#include +#include "internal/thread_once.h" +#include "internal/dso.h" +#include "internal/store.h" static int stopped = 0; diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c index cf96c567795..73676445c1e 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "internal/thread_once.h" #include "obj_lcl.h" /* diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 58f88ba4fa7..fd297e2082e 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -22,8 +22,8 @@ #include #include #include -#include -#include +#include "internal/dane.h" +#include "internal/x509_int.h" #include "x509_lcl.h" /* CRL score values */ diff --git a/e_os.h b/e_os.h index 87d98c24be2..b90ed274798 100644 --- a/e_os.h +++ b/e_os.h @@ -14,7 +14,7 @@ # include # include -# include +# include "internal/nelem.h" /* * contains what we can justify to make visible to the diff --git a/include/internal/dso.h b/include/internal/dso.h index c076c5887a2..402a76f6dfc 100644 --- a/include/internal/dso.h +++ b/include/internal/dso.h @@ -11,7 +11,7 @@ # define HEADER_DSO_H # include -# include +# include "internal/dsoerr.h" #ifdef __cplusplus extern "C" { diff --git a/test/asn1_internal_test.c b/test/asn1_internal_test.c index 06e324b5b7b..34f73491147 100644 --- a/test/asn1_internal_test.c +++ b/test/asn1_internal_test.c @@ -16,7 +16,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" /********************************************************************** * diff --git a/test/asn1_time_test.c b/test/asn1_time_test.c index c185ece98f7..96394a1bf86 100644 --- a/test/asn1_time_test.c +++ b/test/asn1_time_test.c @@ -16,7 +16,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" struct testdata { char *data; /* TIME string value */ diff --git a/test/bad_dtls_test.c b/test/bad_dtls_test.c index 932cb0eb1da..7f6ffdc3caf 100644 --- a/test/bad_dtls_test.c +++ b/test/bad_dtls_test.c @@ -37,10 +37,8 @@ #include #include #include - #include "../ssl/packet_locl.h" -#include - +#include "internal/nelem.h" #include "testutil.h" /* For DTLS1_BAD_VER packets the MAC doesn't include the handshake header */ diff --git a/test/bftest.c b/test/bftest.c index 0639ec888d3..36029c2f7b2 100644 --- a/test/bftest.c +++ b/test/bftest.c @@ -16,11 +16,9 @@ #include #include #include /* To see if OPENSSL_NO_BF is defined */ - #include "testutil.h" -#include - +#include "internal/nelem.h" #ifndef OPENSSL_NO_BF # include diff --git a/test/bntest.c b/test/bntest.c index da07446adb1..667cba67a7e 100644 --- a/test/bntest.c +++ b/test/bntest.c @@ -12,9 +12,9 @@ #include #include -#include +#include "internal/nelem.h" #include "../e_os.h" -#include +#include "internal/numbers.h" #include #include #include diff --git a/test/casttest.c b/test/casttest.c index 417a4cba2e8..179d7d56d31 100644 --- a/test/casttest.c +++ b/test/casttest.c @@ -12,7 +12,7 @@ #include #include /* To see if OPENSSL_NO_CAST is defined */ -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_CAST diff --git a/test/cipher_overhead_test.c b/test/cipher_overhead_test.c index a07ac7e86b6..f8c6fd738e5 100644 --- a/test/cipher_overhead_test.c +++ b/test/cipher_overhead_test.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/nelem.h" #include "testutil.h" #ifdef __VMS diff --git a/test/cipherbytes_test.c b/test/cipherbytes_test.c index 13d6b23aaac..6418b42408c 100644 --- a/test/cipherbytes_test.c +++ b/test/cipherbytes_test.c @@ -18,7 +18,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" static SSL_CTX *ctx; diff --git a/test/cipherlist_test.c b/test/cipherlist_test.c index 6ec963110e4..2d8288d2141 100644 --- a/test/cipherlist_test.c +++ b/test/cipherlist_test.c @@ -18,7 +18,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" typedef struct cipherlist_test_fixture { diff --git a/test/ciphername_test.c b/test/ciphername_test.c index 0eac902ca9f..303e28f50ff 100644 --- a/test/ciphername_test.c +++ b/test/ciphername_test.c @@ -19,7 +19,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" typedef struct cipher_id_name { diff --git a/test/constant_time_test.c b/test/constant_time_test.c index 24cbaf3660d..200cb376c5d 100644 --- a/test/constant_time_test.c +++ b/test/constant_time_test.c @@ -10,7 +10,7 @@ #include #include -#include +#include "internal/nelem.h" #include "internal/constant_time_locl.h" #include "testutil.h" #include "internal/numbers.h" diff --git a/test/crltest.c b/test/crltest.c index f5af4b1e4f9..5ea9cdc4ee3 100644 --- a/test/crltest.c +++ b/test/crltest.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/nelem.h" #include #include #include diff --git a/test/d2i_test.c b/test/d2i_test.c index 48edba49466..255982e2af8 100644 --- a/test/d2i_test.c +++ b/test/d2i_test.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include "internal/nelem.h" static const ASN1_ITEM *item_type; static const char *test_file; diff --git a/test/danetest.c b/test/danetest.c index de51c83f561..54a79ab51fe 100644 --- a/test/danetest.c +++ b/test/danetest.c @@ -24,7 +24,7 @@ #endif #include "testutil.h" -#include +#include "internal/nelem.h" #define _UC(c) ((unsigned char)(c)) @@ -422,7 +422,7 @@ int setup_tests(void) return 1; } -#include +#include "internal/dane.h" static void store_ctx_dane_init(X509_STORE_CTX *store_ctx, SSL *ssl) { diff --git a/test/dhtest.c b/test/dhtest.c index ac09c445fa4..7500f37983e 100644 --- a/test/dhtest.c +++ b/test/dhtest.c @@ -11,7 +11,7 @@ #include #include -#include +#include "internal/nelem.h" #include #include #include diff --git a/test/drbgtest.c b/test/drbgtest.c index 28d0d905c35..2363b5025ca 100644 --- a/test/drbgtest.c +++ b/test/drbgtest.c @@ -8,7 +8,7 @@ */ #include -#include +#include "internal/nelem.h" #include #include #include diff --git a/test/dsatest.c b/test/dsatest.c index d25a1d701f7..fa2ec4af12b 100644 --- a/test/dsatest.c +++ b/test/dsatest.c @@ -19,7 +19,7 @@ #include #include "testutil.h" -#include +#include "internal/nelem.h" #ifndef OPENSSL_NO_DSA static int dsa_cb(int p, int n, BN_GENCB *arg); diff --git a/test/dtlsv1listentest.c b/test/dtlsv1listentest.c index 00120cc0ab0..807bb6d0a1b 100644 --- a/test/dtlsv1listentest.c +++ b/test/dtlsv1listentest.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_SOCK diff --git a/test/ecstresstest.c b/test/ecstresstest.c index b47095cba01..3c6d2d5a595 100644 --- a/test/ecstresstest.c +++ b/test/ecstresstest.c @@ -8,7 +8,7 @@ * or in the file LICENSE in the source distribution. */ -#include +#include "internal/nelem.h" #include "testutil.h" #include diff --git a/test/ectest.c b/test/ectest.c index 85847e08703..3267a3daf57 100644 --- a/test/ectest.c +++ b/test/ectest.c @@ -8,7 +8,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_EC diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 5ca95e4fd64..e3fab29a82f 100644 --- a/test/evp_extra_test.c +++ b/test/evp_extra_test.c @@ -16,7 +16,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" /* * kExampleRSAKeyDER is an RSA private key in ASN.1, DER format. Of course, you diff --git a/test/exptest.c b/test/exptest.c index 62a2377dfd9..cde4d6bc454 100644 --- a/test/exptest.c +++ b/test/exptest.c @@ -11,7 +11,7 @@ #include #include -#include +#include "internal/nelem.h" #include #include diff --git a/test/handshake_helper.c b/test/handshake_helper.c index b33cdd5640f..322957ad89e 100644 --- a/test/handshake_helper.c +++ b/test/handshake_helper.c @@ -18,7 +18,7 @@ #ifndef OPENSSL_NO_SOCK # define USE_SOCKETS -# include +# include "internal/nelem.h" #endif #include "handshake_helper.h" diff --git a/test/hmactest.c b/test/hmactest.c index abd1193d819..ca775773a6e 100644 --- a/test/hmactest.c +++ b/test/hmactest.c @@ -11,7 +11,7 @@ #include #include -#include +#include "internal/nelem.h" # include # include diff --git a/test/ideatest.c b/test/ideatest.c index 5b715fe1c91..c80e18f80ab 100644 --- a/test/ideatest.c +++ b/test/ideatest.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_IDEA diff --git a/test/igetest.c b/test/igetest.c index 8a1db677047..46910f8eeba 100644 --- a/test/igetest.c +++ b/test/igetest.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include "internal/nelem.h" #include "testutil.h" #define TEST_SIZE 128 diff --git a/test/lhash_test.c b/test/lhash_test.c index 6deea8d9921..162286b7cdd 100644 --- a/test/lhash_test.c +++ b/test/lhash_test.c @@ -16,7 +16,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" /* diff --git a/test/md2test.c b/test/md2test.c index df55932f82d..c5360d68a78 100644 --- a/test/md2test.c +++ b/test/md2test.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_MD2 diff --git a/test/mdc2_internal_test.c b/test/mdc2_internal_test.c index c5e74ea5ef5..64aa2dc1685 100644 --- a/test/mdc2_internal_test.c +++ b/test/mdc2_internal_test.c @@ -14,7 +14,7 @@ #include #include "testutil.h" -#include +#include "internal/nelem.h" typedef struct { const char *input; diff --git a/test/mdc2test.c b/test/mdc2test.c index 5dfe60e8bfe..0658843ce5e 100644 --- a/test/mdc2test.c +++ b/test/mdc2test.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "testutil.h" #if defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_MDC2) diff --git a/test/modes_internal_test.c b/test/modes_internal_test.c index 3fd0498b8b7..f3e46fed80a 100644 --- a/test/modes_internal_test.c +++ b/test/modes_internal_test.c @@ -16,7 +16,7 @@ #include #include "../crypto/modes/modes_lcl.h" #include "testutil.h" -#include +#include "internal/nelem.h" typedef struct { size_t size; diff --git a/test/poly1305_internal_test.c b/test/poly1305_internal_test.c index 55b76440eae..d1d71c92ee7 100644 --- a/test/poly1305_internal_test.c +++ b/test/poly1305_internal_test.c @@ -15,7 +15,7 @@ #include "testutil.h" #include "internal/poly1305.h" #include "../crypto/poly1305/poly1305_local.h" -#include +#include "internal/nelem.h" typedef struct { size_t size; diff --git a/test/rc2test.c b/test/rc2test.c index fc00076b170..e64d1a72850 100644 --- a/test/rc2test.c +++ b/test/rc2test.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_RC2 diff --git a/test/rc4test.c b/test/rc4test.c index e3f41b62089..15706ea3f05 100644 --- a/test/rc4test.c +++ b/test/rc4test.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_RC4 diff --git a/test/rc5test.c b/test/rc5test.c index 9aa214f814c..d49366d9938 100644 --- a/test/rc5test.c +++ b/test/rc5test.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_RC5 diff --git a/test/rsa_test.c b/test/rsa_test.c index 13dcde18902..2ad4de4734c 100644 --- a/test/rsa_test.c +++ b/test/rsa_test.c @@ -12,7 +12,7 @@ #include #include -#include +#include "internal/nelem.h" #include #include diff --git a/test/sanitytest.c b/test/sanitytest.c index 80a19e992d5..743c03b2d93 100644 --- a/test/sanitytest.c +++ b/test/sanitytest.c @@ -8,7 +8,7 @@ */ #include -#include +#include "internal/numbers.h" #include "testutil.h" diff --git a/test/servername_test.c b/test/servername_test.c index f1b66ee510c..e0c473e2679 100644 --- a/test/servername_test.c +++ b/test/servername_test.c @@ -21,7 +21,7 @@ #include "../ssl/packet_locl.h" #include "testutil.h" -#include +#include "internal/nelem.h" #define CLIENT_VERSION_LEN 2 diff --git a/test/siphash_internal_test.c b/test/siphash_internal_test.c index 60a2d8dd019..5401e8c2e6f 100644 --- a/test/siphash_internal_test.c +++ b/test/siphash_internal_test.c @@ -16,7 +16,7 @@ #include "testutil.h" #include "internal/siphash.h" #include "../crypto/siphash/siphash_local.h" -#include +#include "internal/nelem.h" static BIO* b_stderr = NULL; static BIO* b_stdout = NULL; diff --git a/test/ssl_cert_table_internal_test.c b/test/ssl_cert_table_internal_test.c index 9f520152146..b298cfe225d 100644 --- a/test/ssl_cert_table_internal_test.c +++ b/test/ssl_cert_table_internal_test.c @@ -14,7 +14,7 @@ #include #include "testutil.h" -#include +#include "internal/nelem.h" #ifdef __VMS # pragma names save diff --git a/test/ssl_test_ctx.c b/test/ssl_test_ctx.c index c9b0c432520..d4642e78ac8 100644 --- a/test/ssl_test_ctx.c +++ b/test/ssl_test_ctx.c @@ -12,7 +12,7 @@ #include #include -#include +#include "internal/nelem.h" #include "../e_os.h" #include "ssl_test_ctx.h" #include "testutil.h" diff --git a/test/ssl_test_ctx_test.c b/test/ssl_test_ctx_test.c index 2376ce178f8..194919d1f36 100644 --- a/test/ssl_test_ctx_test.c +++ b/test/ssl_test_ctx_test.c @@ -15,7 +15,7 @@ #include #include -#include +#include "internal/nelem.h" #include "ssl_test_ctx.h" #include "testutil.h" #include diff --git a/test/sslapitest.c b/test/sslapitest.c index 571da55294b..622f159f1a3 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -17,7 +17,7 @@ #include "ssltestlib.h" #include "testutil.h" -#include +#include "internal/nelem.h" #include "../ssl/ssl_locl.h" static char *cert = NULL; diff --git a/test/ssltest_old.c b/test/ssltest_old.c index 9e3bb7a83d4..b95a5a44fcc 100644 --- a/test/ssltest_old.c +++ b/test/ssltest_old.c @@ -25,7 +25,7 @@ #include #include -#include +#include "internal/nelem.h" #define USE_SOCKETS #include "e_os.h" diff --git a/test/ssltestlib.c b/test/ssltestlib.c index 410d323a9ab..4473c670d74 100644 --- a/test/ssltestlib.c +++ b/test/ssltestlib.c @@ -9,7 +9,7 @@ #include -#include +#include "internal/nelem.h" #include "ssltestlib.h" #include "testutil.h" diff --git a/test/stack_test.c b/test/stack_test.c index 922dfdd41c8..c0ec46a6bde 100644 --- a/test/stack_test.c +++ b/test/stack_test.c @@ -16,7 +16,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" /* The macros below generate unused functions which error out one of the clang diff --git a/test/test_test.c b/test/test_test.c index 742cd61a6fb..2ec2b51159e 100644 --- a/test/test_test.c +++ b/test/test_test.c @@ -16,7 +16,7 @@ #include #include -#include +#include "internal/nelem.h" #include "testutil.h" #define TEST(expected, test) test_case((expected), #test, (test)) diff --git a/test/testutil/driver.c b/test/testutil/driver.c index 1859706996c..2c28a73eb29 100644 --- a/test/testutil/driver.c +++ b/test/testutil/driver.c @@ -14,7 +14,7 @@ #include #include -#include +#include "internal/nelem.h" #include /* diff --git a/test/testutil/format_output.c b/test/testutil/format_output.c index 9b04a94f420..9b9bab118cf 100644 --- a/test/testutil/format_output.c +++ b/test/testutil/format_output.c @@ -13,7 +13,7 @@ #include #include -#include +#include "internal/nelem.h" /* The size of memory buffers to display on failure */ #define MEM_BUFFER_SIZE (2000) diff --git a/test/testutil/main.c b/test/testutil/main.c index 2f4eeb6798f..6781a5245a0 100644 --- a/test/testutil/main.c +++ b/test/testutil/main.c @@ -8,7 +8,7 @@ */ #include "../testutil.h" -#include +#include "internal/nelem.h" #include "output.h" #include "tu_local.h" diff --git a/test/testutil/tests.c b/test/testutil/tests.c index cea81ca2ec6..eb0a3938d1a 100644 --- a/test/testutil/tests.c +++ b/test/testutil/tests.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include "internal/nelem.h" /* * Output a failed test first line. diff --git a/test/time_offset_test.c b/test/time_offset_test.c index 8814ccb47ab..f3b20dd2426 100644 --- a/test/time_offset_test.c +++ b/test/time_offset_test.c @@ -16,7 +16,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" typedef struct { const char *data; diff --git a/test/v3nametest.c b/test/v3nametest.c index dee48328640..a4ba775b5c4 100644 --- a/test/v3nametest.c +++ b/test/v3nametest.c @@ -8,7 +8,7 @@ */ #include -#include +#include "internal/nelem.h" #include "../e_os.h" #include #include diff --git a/test/x509_internal_test.c b/test/x509_internal_test.c index 930c01ce7bb..2385d53ab29 100644 --- a/test/x509_internal_test.c +++ b/test/x509_internal_test.c @@ -15,7 +15,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" /********************************************************************** * diff --git a/test/x509_time_test.c b/test/x509_time_test.c index e8cec0cfeaa..5983bdf11e9 100644 --- a/test/x509_time_test.c +++ b/test/x509_time_test.c @@ -15,7 +15,7 @@ #include #include #include "testutil.h" -#include +#include "internal/nelem.h" typedef struct { const char *data; diff --git a/test/x509aux.c b/test/x509aux.c index d38aeb02638..b66e1de71ae 100644 --- a/test/x509aux.c +++ b/test/x509aux.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include "internal/nelem.h" #include "testutil.h" static int test_certs(int num)