summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/include/apps.h2
-rw-r--r--apps/s_client.c2
-rw-r--r--crypto/bio/bio_local.h2
-rw-r--r--crypto/bio/bss_bio.c2
-rw-r--r--crypto/cmp/cmp_client.c2
-rw-r--r--crypto/conf/conf_api.c2
-rw-r--r--crypto/conf/conf_def.c2
-rw-r--r--crypto/conf/conf_lib.c2
-rw-r--r--crypto/cpuid.c2
-rw-r--r--crypto/cryptlib.c2
-rw-r--r--crypto/des/cfb_enc.c2
-rw-r--r--crypto/dh/dh_kdf.c4
-rw-r--r--crypto/dllmain.c2
-rw-r--r--crypto/dso/dso_dlfcn.c2
-rw-r--r--crypto/dso/dso_win32.c2
-rw-r--r--crypto/ec/curve448/arch_32/f_impl32.c2
-rw-r--r--crypto/ec/curve448/arch_64/f_impl64.c2
-rw-r--r--crypto/ec/ec_backend.c2
-rw-r--r--crypto/encode_decode/decoder_lib.c2
-rw-r--r--crypto/engine/eng_init.c2
-rw-r--r--crypto/engine/eng_lib.c2
-rw-r--r--crypto/engine/tb_asnmth.c2
-rw-r--r--crypto/err/err.c2
-rw-r--r--crypto/getenv.c2
-rw-r--r--crypto/http/http_client.c2
-rw-r--r--crypto/info.c2
-rw-r--r--crypto/init.c2
-rw-r--r--crypto/mem.c2
-rw-r--r--crypto/mem_sec.c2
-rw-r--r--crypto/o_dir.c2
-rw-r--r--crypto/o_fopen.c2
-rw-r--r--crypto/o_init.c2
-rw-r--r--crypto/o_str.c2
-rw-r--r--crypto/objects/o_names.c2
-rw-r--r--crypto/property/property_parse.c2
-rw-r--r--crypto/rand/rand_deprecated.c2
-rw-r--r--crypto/rand/rand_lib.c2
-rw-r--r--crypto/store/store_lib.c2
-rw-r--r--crypto/store/store_result.c2
-rw-r--r--crypto/ts/ts_rsp_sign.c2
-rw-r--r--crypto/ui/ui_openssl.c2
-rw-r--r--crypto/x509/by_dir.c2
-rw-r--r--crypto/x509/v3_tlsf.c2
-rw-r--r--crypto/x509/v3_utl.c2
-rw-r--r--engines/e_devcrypto.c2
-rw-r--r--include/internal/e_os.h (renamed from e_os.h)0
-rw-r--r--providers/common/capabilities.c2
-rw-r--r--providers/fips/self_test.c2
-rw-r--r--providers/implementations/kdfs/hkdf.c2
-rw-r--r--providers/implementations/kdfs/kbkdf.c2
-rw-r--r--providers/implementations/kdfs/tls1_prf.c2
-rw-r--r--providers/implementations/kdfs/x942kdf.c2
-rw-r--r--providers/implementations/rands/seeding/rand_unix.c2
-rw-r--r--providers/implementations/rands/seeding/rand_vms.c2
-rw-r--r--ssl/d1_lib.c2
-rw-r--r--ssl/ssl_init.c2
-rw-r--r--ssl/ssl_lib.c2
-rw-r--r--ssl/ssl_local.h2
-rw-r--r--test/helpers/ssltestlib.c2
-rw-r--r--test/localetest.c2
-rw-r--r--test/p_test.c2
-rw-r--r--test/secmemtest.c2
-rw-r--r--test/ssl_old_test.c2
63 files changed, 63 insertions, 63 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index baacd0025d..8b96fa7235 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -10,7 +10,7 @@
#ifndef OSSL_APPS_H
# define OSSL_APPS_H
-# include "e_os.h" /* struct timeval for DTLS */
+# include "internal/e_os.h" /* struct timeval for DTLS */
# include "internal/nelem.h"
# include "internal/sockets.h" /* for openssl_fdset() */
# include "internal/cryptlib.h" /* ossl_assert() */
diff --git a/apps/s_client.c b/apps/s_client.c
index 182f7d9ddb..1d99ba3824 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -8,7 +8,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/crypto/bio/bio_local.h b/crypto/bio/bio_local.h
index 749e8f810c..6ba0196ce6 100644
--- a/crypto/bio/bio_local.h
+++ b/crypto/bio/bio_local.h
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/sockets.h"
/* BEGIN BIO_ADDRINFO/BIO_ADDR stuff. */
diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c
index 7fa8778cae..a670290b6f 100644
--- a/crypto/bio/bss_bio.c
+++ b/crypto/bio/bss_bio.c
@@ -15,7 +15,7 @@
* See ssl/ssltest.c for some hints on how this can be used.
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <assert.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/crypto/cmp/cmp_client.c b/crypto/cmp/cmp_client.c
index c7674ce088..cc29412975 100644
--- a/crypto/cmp/cmp_client.c
+++ b/crypto/cmp/cmp_client.c
@@ -11,7 +11,7 @@
#include "cmp_local.h"
#include "internal/cryptlib.h"
-#include "e_os.h" /* ossl_sleep() */
+#include "internal/e_os.h" /* ossl_sleep() */
/* explicit #includes not strictly needed since implied by the above: */
#include <openssl/bio.h>
diff --git a/crypto/conf/conf_api.c b/crypto/conf/conf_api.c
index 7a4efe6dbb..37e66af78e 100644
--- a/crypto/conf/conf_api.c
+++ b/crypto/conf/conf_api.c
@@ -9,7 +9,7 @@
/* Part of the code in here was originally in conf.c, which is now removed */
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#include <stdlib.h>
#include <string.h>
diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c
index b5d6668f42..a6aaf9d278 100644
--- a/crypto/conf/conf_def.c
+++ b/crypto/conf/conf_def.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <string.h>
-#include "e_os.h" /* struct stat */
+#include "internal/e_os.h" /* struct stat */
#ifdef __TANDEM
# include <sys/types.h> /* needed for stat.h */
# include <sys/stat.h> /* struct stat */
diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c
index a236003525..fe08e0af5f 100644
--- a/crypto/conf/conf_lib.c
+++ b/crypto/conf/conf_lib.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <stdio.h>
#include <string.h>
#include "internal/conf.h"
diff --git a/crypto/cpuid.c b/crypto/cpuid.c
index 090f6fe03e..c5ef486efd 100644
--- a/crypto/cpuid.c
+++ b/crypto/cpuid.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "crypto/cryptlib.h"
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 6e73b8352c..f78c2236e4 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -8,7 +8,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "crypto/cryptlib.h"
#include <openssl/safestack.h>
diff --git a/crypto/des/cfb_enc.c b/crypto/des/cfb_enc.c
index 30458d50a1..e8813755bf 100644
--- a/crypto/des/cfb_enc.c
+++ b/crypto/des/cfb_enc.c
@@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#include "des_local.h"
#include <assert.h>
diff --git a/crypto/dh/dh_kdf.c b/crypto/dh/dh_kdf.c
index 6e99466e60..a0fe99f4a2 100644
--- a/crypto/dh/dh_kdf.c
+++ b/crypto/dh/dh_kdf.c
@@ -13,8 +13,8 @@
*/
#include "internal/deprecated.h"
-#include "e_os.h"
-#include "e_os.h"
+#include "internal/e_os.h"
+#include "internal/e_os.h"
#include <string.h>
#include <openssl/core_names.h>
#include <openssl/dh.h>
diff --git a/crypto/dllmain.c b/crypto/dllmain.c
index 48c0cd3122..65d9be6767 100644
--- a/crypto/dllmain.c
+++ b/crypto/dllmain.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "crypto/cryptlib.h"
#if defined(_WIN32) || defined(__CYGWIN__)
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c
index 6a988cc727..982b117e70 100644
--- a/crypto/dso/dso_dlfcn.c
+++ b/crypto/dso/dso_dlfcn.c
@@ -17,7 +17,7 @@
#endif
#include "dso_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#ifdef DSO_DLFCN
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c
index 4d3059d438..08ad8f46b3 100644
--- a/crypto/dso/dso_win32.c
+++ b/crypto/dso/dso_win32.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "dso_local.h"
#if defined(DSO_WIN32)
diff --git a/crypto/ec/curve448/arch_32/f_impl32.c b/crypto/ec/curve448/arch_32/f_impl32.c
index 8714a51422..45d5587347 100644
--- a/crypto/ec/curve448/arch_32/f_impl32.c
+++ b/crypto/ec/curve448/arch_32/f_impl32.c
@@ -10,7 +10,7 @@
* Originally written by Mike Hamburg
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/macros.h>
#include "internal/numbers.h"
diff --git a/crypto/ec/curve448/arch_64/f_impl64.c b/crypto/ec/curve448/arch_64/f_impl64.c
index 8f7a7dd391..10a9b065e5 100644
--- a/crypto/ec/curve448/arch_64/f_impl64.c
+++ b/crypto/ec/curve448/arch_64/f_impl64.c
@@ -10,7 +10,7 @@
* Originally written by Mike Hamburg
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/macros.h>
#include "internal/numbers.h"
diff --git a/crypto/ec/ec_backend.c b/crypto/ec/ec_backend.c
index 98e2c418e4..5be2112875 100644
--- a/crypto/ec/ec_backend.c
+++ b/crypto/ec/ec_backend.c
@@ -24,7 +24,7 @@
#include "crypto/bn.h"
#include "crypto/ec.h"
#include "ec_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/param_build_set.h"
/* Mapping between a flag and a name */
diff --git a/crypto/encode_decode/decoder_lib.c b/crypto/encode_decode/decoder_lib.c
index e24d2c6cd5..817f335453 100644
--- a/crypto/encode_decode/decoder_lib.c
+++ b/crypto/encode_decode/decoder_lib.c
@@ -20,7 +20,7 @@
#include "internal/provider.h"
#include "crypto/decoder.h"
#include "encoder_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
struct decoder_process_data_st {
OSSL_DECODER_CTX *ctx;
diff --git a/crypto/engine/eng_init.c b/crypto/engine/eng_init.c
index c204eb1899..343a069fa0 100644
--- a/crypto/engine/eng_init.c
+++ b/crypto/engine/eng_init.c
@@ -10,7 +10,7 @@
/* We need to use some engine deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
-#include "e_os.h"
+#include "internal/e_os.h"
#include "eng_local.h"
/*
diff --git a/crypto/engine/eng_lib.c b/crypto/engine/eng_lib.c
index 05c6a67c1e..813bcd6df6 100644
--- a/crypto/engine/eng_lib.c
+++ b/crypto/engine/eng_lib.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "eng_local.h"
#include <openssl/rand.h>
#include "internal/refcount.h"
diff --git a/crypto/engine/tb_asnmth.c b/crypto/engine/tb_asnmth.c
index 81f8e7add0..bd65ede2f2 100644
--- a/crypto/engine/tb_asnmth.c
+++ b/crypto/engine/tb_asnmth.c
@@ -10,7 +10,7 @@
/* We need to use some engine deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
-#include "e_os.h"
+#include "internal/e_os.h"
#include "eng_local.h"
#include <openssl/evp.h>
#include "crypto/asn1.h"
diff --git a/crypto/err/err.c b/crypto/err/err.c
index ec55642308..672a55bcfd 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -23,7 +23,7 @@
#include "internal/thread_once.h"
#include "crypto/ctype.h"
#include "internal/constant_time.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#include "err_local.h"
/* Forward declaration in case it's not published because of configuration */
diff --git a/crypto/getenv.c b/crypto/getenv.c
index e79b6cc161..b263d1b624 100644
--- a/crypto/getenv.c
+++ b/crypto/getenv.c
@@ -13,7 +13,7 @@
#include <stdlib.h>
#include "internal/cryptlib.h"
-#include "e_os.h"
+#include "internal/e_os.h"
char *ossl_safe_getenv(const char *name)
{
diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c
index 0d62f1c7bf..77302a23b2 100644
--- a/crypto/http/http_client.c
+++ b/crypto/http/http_client.c
@@ -8,7 +8,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <stdio.h>
#include <stdlib.h>
#include "crypto/ctype.h"
diff --git a/crypto/info.c b/crypto/info.c
index f3bef56b13..05edbc3fc8 100644
--- a/crypto/info.c
+++ b/crypto/info.c
@@ -12,7 +12,7 @@
#include "crypto/dso_conf.h"
#include "internal/thread_once.h"
#include "internal/cryptlib.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#include "buildinf.h"
#if defined(__arm__) || defined(__arm) || defined(__aarch64__)
diff --git a/crypto/init.c b/crypto/init.c
index cacf637c89..983d76e457 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -10,7 +10,7 @@
/* We need to use some engine deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
-#include "e_os.h"
+#include "internal/e_os.h"
#include "crypto/cryptlib.h"
#include <openssl/err.h>
#include "crypto/rand.h"
diff --git a/crypto/mem.c b/crypto/mem.c
index f6cdcf5a42..3d67d9256a 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#include "crypto/cryptlib.h"
#include <stdio.h>
diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c
index 711d35f409..60559a930e 100644
--- a/crypto/mem_sec.c
+++ b/crypto/mem_sec.c
@@ -15,7 +15,7 @@
* For details on that implementation, see below (look for uppercase
* "SECURE HEAP IMPLEMENTATION").
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/crypto.h>
#include <string.h>
diff --git a/crypto/o_dir.c b/crypto/o_dir.c
index 6857a2e17d..8772347930 100644
--- a/crypto/o_dir.c
+++ b/crypto/o_dir.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <errno.h>
/*
diff --git a/crypto/o_fopen.c b/crypto/o_fopen.c
index 8095fffbe0..f449c3ec1d 100644
--- a/crypto/o_fopen.c
+++ b/crypto/o_fopen.c
@@ -25,7 +25,7 @@
# endif
# endif
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#if !defined(OPENSSL_NO_STDIO)
diff --git a/crypto/o_init.c b/crypto/o_init.c
index a0b4256f78..30c19b81e8 100644
--- a/crypto/o_init.c
+++ b/crypto/o_init.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/err.h>
/*
diff --git a/crypto/o_str.c b/crypto/o_str.c
index 7fa487dd5f..3354ce0927 100644
--- a/crypto/o_str.c
+++ b/crypto/o_str.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <string.h>
#include <limits.h>
#include <openssl/crypto.h>
diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c
index 791f2b011e..1efa0345fb 100644
--- a/crypto/objects/o_names.c
+++ b/crypto/objects/o_names.c
@@ -19,7 +19,7 @@
#include "internal/thread_once.h"
#include "crypto/lhash.h"
#include "obj_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
/*
* I use the ex_data stuff to manage the identifiers for the obj_name_types
diff --git a/crypto/property/property_parse.c b/crypto/property/property_parse.c
index ca2bd33381..b2bf3cd631 100644
--- a/crypto/property/property_parse.c
+++ b/crypto/property/property_parse.c
@@ -17,7 +17,7 @@
#include "crypto/ctype.h"
#include "internal/nelem.h"
#include "property_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
DEFINE_STACK_OF(OSSL_PROPERTY_DEFINITION)
diff --git a/crypto/rand/rand_deprecated.c b/crypto/rand/rand_deprecated.c
index dd69f1beb7..a6bc2a99e3 100644
--- a/crypto/rand/rand_deprecated.c
+++ b/crypto/rand/rand_deprecated.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include <e_os.h>
+#include "internal/e_os.h"
#include <openssl/macros.h>
#include <openssl/rand.h>
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 50aa9226cb..caedbca204 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -28,7 +28,7 @@
# include <openssl/engine.h>
# include "crypto/rand_pool.h"
# include "prov/seeding.h"
-# include "e_os.h"
+# include "internal/e_os.h"
# ifndef OPENSSL_NO_ENGINE
/* non-NULL if default_RAND_meth is ENGINE-provided */
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 5ac7ff593e..c767e303f8 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -14,7 +14,7 @@
/* We need to use some STORE deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/crypto.h>
#include <openssl/err.h>
diff --git a/crypto/store/store_result.c b/crypto/store/store_result.c
index 96d3119907..ca436b361f 100644
--- a/crypto/store/store_result.c
+++ b/crypto/store/store_result.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <string.h>
#include <openssl/core.h>
diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c
index 8937bb2d66..fac09e9092 100644
--- a/crypto/ts/ts_rsp_sign.c
+++ b/crypto/ts/ts_rsp_sign.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/objects.h>
#include <openssl/ts.h>
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 8007f2f70c..544415e5b1 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/e_os2.h>
#include <openssl/err.h>
#include <openssl/ui.h>
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c
index 258ad51852..599d5463bb 100644
--- a/crypto/x509/by_dir.c
+++ b/crypto/x509/by_dir.c
@@ -16,7 +16,7 @@
# include <sys/stat.h>
#endif
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#include <stdio.h>
#include <time.h>
diff --git a/crypto/x509/v3_tlsf.c b/crypto/x509/v3_tlsf.c
index 3a457fa57b..a1446bc074 100644
--- a/crypto/x509/v3_tlsf.c
+++ b/crypto/x509/v3_tlsf.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#include <stdio.h>
#include <openssl/asn1t.h>
diff --git a/crypto/x509/v3_utl.c b/crypto/x509/v3_utl.c
index ba76253029..f144dababb 100644
--- a/crypto/x509/v3_utl.c
+++ b/crypto/x509/v3_utl.c
@@ -9,7 +9,7 @@
/* X509 v3 extension utilities */
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/cryptlib.h"
#include <stdio.h>
#include <string.h>
diff --git a/engines/e_devcrypto.c b/engines/e_devcrypto.c
index b423175227..dcdf2f07ae 100644
--- a/engines/e_devcrypto.c
+++ b/engines/e_devcrypto.c
@@ -10,7 +10,7 @@
/* We need to use some deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
-#include "../e_os.h"
+#include "internal/e_os.h"
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/e_os.h b/include/internal/e_os.h
index db05b7f815..db05b7f815 100644
--- a/e_os.h
+++ b/include/internal/e_os.h
diff --git a/providers/common/capabilities.c b/providers/common/capabilities.c
index 7223d55164..ed37e76969 100644
--- a/providers/common/capabilities.c
+++ b/providers/common/capabilities.c
@@ -17,7 +17,7 @@
#include "internal/nelem.h"
#include "internal/tlsgroups.h"
#include "prov/providercommon.h"
-#include "e_os.h"
+#include "internal/e_os.h"
/* If neither ec or dh is available then we have no TLS-GROUP capabilities */
#if !defined(OPENSSL_NO_EC) || !defined(OPENSSL_NO_DH)
diff --git a/providers/fips/self_test.c b/providers/fips/self_test.c
index 2b228da262..10804d9f59 100644
--- a/providers/fips/self_test.c
+++ b/providers/fips/self_test.c
@@ -16,7 +16,7 @@
#include <openssl/err.h>
#include <openssl/proverr.h>
#include <openssl/rand.h>
-#include "e_os.h"
+#include "internal/e_os.h"
#include "prov/providercommon.h"
/*
diff --git a/providers/implementations/kdfs/hkdf.c b/providers/implementations/kdfs/hkdf.c
index 3fb9405213..7e5dd36eae 100644
--- a/providers/implementations/kdfs/hkdf.c
+++ b/providers/implementations/kdfs/hkdf.c
@@ -29,7 +29,7 @@
#include "prov/providercommon.h"
#include "prov/implementations.h"
#include "prov/provider_util.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#define HKDF_MAXBUF 2048
diff --git a/providers/implementations/kdfs/kbkdf.c b/providers/implementations/kdfs/kbkdf.c
index e4b0799abd..f29d132e1a 100644
--- a/providers/implementations/kdfs/kbkdf.c
+++ b/providers/implementations/kdfs/kbkdf.c
@@ -44,7 +44,7 @@
#include "prov/provider_util.h"
#include "prov/providercommon.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#define ossl_min(a, b) ((a) < (b)) ? (a) : (b)
diff --git a/providers/implementations/kdfs/tls1_prf.c b/providers/implementations/kdfs/tls1_prf.c
index eded75dc3c..fd46283d3a 100644
--- a/providers/implementations/kdfs/tls1_prf.c
+++ b/providers/implementations/kdfs/tls1_prf.c
@@ -60,7 +60,7 @@
#include "prov/providercommon.h"
#include "prov/implementations.h"
#include "prov/provider_util.h"
-#include "e_os.h"
+#include "internal/e_os.h"
static OSSL_FUNC_kdf_newctx_fn kdf_tls1_prf_new;
static OSSL_FUNC_kdf_dupctx_fn kdf_tls1_prf_dup;
diff --git a/providers/implementations/kdfs/x942kdf.c b/providers/implementations/kdfs/x942kdf.c
index cb248e0faa..c505492cfa 100644
--- a/providers/implementations/kdfs/x942kdf.c
+++ b/providers/implementations/kdfs/x942kdf.c
@@ -8,7 +8,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/core_names.h>
#include <openssl/core_dispatch.h>
#include <openssl/err.h>
diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c
index 72abc3314a..3df7696500 100644
--- a/providers/implementations/rands/seeding/rand_unix.c
+++ b/providers/implementations/rands/seeding/rand_unix.c
@@ -10,7 +10,7 @@
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
-#include "../e_os.h"
+#include "internal/e_os.h"
#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/rand.h>
diff --git a/providers/implementations/rands/seeding/rand_vms.c b/providers/implementations/rands/seeding/rand_vms.c
index 47ba5caab4..da655740c8 100644
--- a/providers/implementations/rands/seeding/rand_vms.c
+++ b/providers/implementations/rands/seeding/rand_vms.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#define __NEW_STARLET 1 /* New starlet definitions since VMS 7.0 */
#include <unistd.h>
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 95a34093c9..baedf390f6 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include <stdio.h>
#include <openssl/objects.h>
#include <openssl/rand.h>
diff --git a/ssl/ssl_init.c b/ssl/ssl_init.c
index db0234d7a4..36cb8060eb 100644
--- a/ssl/ssl_init.c
+++ b/ssl/ssl_init.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
#include "internal/err.h"
#include <openssl/crypto.h>
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 75ef563f1f..e3d54fcca7 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include "ssl_local.h"
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/objects.h>
#include <openssl/x509v3.h>
#include <openssl/rand.h>
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 5fb1feb801..b3fdb8b7e8 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -12,7 +12,7 @@
#ifndef OSSL_SSL_LOCAL_H
# define OSSL_SSL_LOCAL_H
-# include "e_os.h" /* struct timeval for DTLS */
+# include "internal/e_os.h" /* struct timeval for DTLS */
# include <stdlib.h>
# include <time.h>
# include <string.h>
diff --git a/test/helpers/ssltestlib.c b/test/helpers/ssltestlib.c
index 4c17faea54..3b74ddb088 100644
--- a/test/helpers/ssltestlib.c
+++ b/test/helpers/ssltestlib.c
@@ -12,7 +12,7 @@
#include "internal/nelem.h"
#include "ssltestlib.h"
#include "../testutil.h"
-#include "e_os.h" /* for ossl_sleep() etc. */
+#include "internal/e_os.h" /* for ossl_sleep() etc. */
#ifdef OPENSSL_SYS_UNIX
# include <unistd.h>
diff --git a/test/localetest.c b/test/localetest.c
index 9df90ed901..616356a140 100644
--- a/test/localetest.c
+++ b/test/localetest.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "../e_os.h"
+#include "internal/e_os.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/test/p_test.c b/test/p_test.c
index 80f0784dd9..32a5e44117 100644
--- a/test/p_test.c
+++ b/test/p_test.c
@@ -26,7 +26,7 @@
# define OSSL_provider_init PROVIDER_INIT_FUNCTION_NAME
#endif
-#include "e_os.h"
+#include "internal/e_os.h"
#include <openssl/core.h>
#include <openssl/core_dispatch.h>
#include <openssl/err.h>
diff --git a/test/secmemtest.c b/test/secmemtest.c
index d0f9ba2e99..2b0a163747 100644
--- a/test/secmemtest.c
+++ b/test/secmemtest.c
@@ -10,7 +10,7 @@
#include <openssl/crypto.h>
#include "testutil.h"
-#include "../e_os.h"
+#include "internal/e_os.h"
static int test_sec_mem(void)
{
diff --git a/test/ssl_old_test.c b/test/ssl_old_test.c
index 91c8b5b7b5..d09d5ab3a9 100644
--- a/test/ssl_old_test.c
+++ b/test/ssl_old_test.c
@@ -9,7 +9,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "e_os.h"
+#include "internal/e_os.h"
/* Or gethostname won't be declared properly on Linux and GNU platforms. */
#ifndef _BSD_SOURCE