Move e_os.h to include/internal

Including e_os.h with a path from a header file doesn't work well on
certain exotic platform.  It simply fails to build.

Since we don't seem to be able to stop ourselves, the better move is
to move e_os.h to an include directory that's part of the inclusion
path given to the compiler.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17641)
This commit is contained in:
Richard Levitte 2022-02-04 15:13:01 +01:00
parent 77f3936928
commit d5f9166bac
93 changed files with 93 additions and 93 deletions

View File

@ -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/common.h" /* for HAS_PREFIX */
# include "internal/nelem.h"
# include "internal/sockets.h" /* for openssl_fdset() */

View File

@ -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>

View File

@ -10,7 +10,7 @@
/* We need to use some engine deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
#include "e_os.h" /* for strncasecmp */
#include "internal/e_os.h" /* for strncasecmp */
#include "internal/cryptlib.h"
#include <stdio.h>
#include <openssl/asn1t.h>

View File

@ -10,7 +10,7 @@
#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include <openssl/x509v3.h>
#include "e_os.h" /* strncasecmp() */
#include "internal/e_os.h" /* strncasecmp() */
#define ASN1_GEN_FLAG 0x10000
#define ASN1_GEN_FLAG_IMP (ASN1_GEN_FLAG|1)

View File

@ -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. */

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -11,7 +11,7 @@
#include <stdio.h>
#include <string.h>
#include "e_os.h" /* strcasecmp and struct stat */
#include "internal/e_os.h" /* strcasecmp and struct stat */
#ifdef __TANDEM
# include <sys/types.h> /* needed for stat.h */
# include <sys/stat.h> /* struct stat */

View File

@ -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"

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include "internal/namemap.h"
#include <openssl/lhash.h>
#include "crypto/lhash.h" /* ossl_lh_strcasehash */

View File

@ -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) || \

View File

@ -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>

View File

@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
#include "e_os.h"
#include "internal/e_os.h"
#include "des_local.h"
#include <assert.h>

View File

@ -23,7 +23,7 @@
#include <openssl/objects.h>
#include "internal/nelem.h"
#include "crypto/dh.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
static DH *dh_param_init(OSSL_LIB_CTX *libctx, const DH_NAMED_GROUP *group)
{

View File

@ -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>

View File

@ -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__)

View File

@ -17,7 +17,7 @@
#endif
#include "dso_local.h"
#include "e_os.h"
#include "internal/e_os.h"
#ifdef DSO_DLFCN

View File

@ -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)

View File

@ -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"

View File

@ -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"

View File

@ -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 */

View File

@ -22,7 +22,7 @@
#include "crypto/ec.h"
#include "internal/nelem.h"
#include "ec_local.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
/* functions for EC_GROUP objects */

View File

@ -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;

View File

@ -18,7 +18,7 @@
#include "crypto/evp.h"
#include "crypto/decoder.h"
#include "encoder_local.h"
#include "e_os.h" /* strcasecmp on Windows */
#include "internal/e_os.h" /* strcasecmp on Windows */
int OSSL_DECODER_CTX_set_passphrase(OSSL_DECODER_CTX *ctx,
const unsigned char *kstr,

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h" /* strcasecmp on Windows */
#include "internal/e_os.h" /* strcasecmp on Windows */
#include <openssl/core_names.h>
#include <openssl/bio.h>
#include <openssl/encoder.h>

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h" /* strcasecmp on Windows */
#include "internal/e_os.h" /* strcasecmp on Windows */
#include <openssl/err.h>
#include <openssl/ui.h>
#include <openssl/params.h>

View File

@ -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"
/*

View File

@ -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"

View File

@ -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"

View File

@ -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 */

View File

@ -37,7 +37,7 @@
#include "crypto/dh.h"
#include "crypto/ec.h"
#include "e_os.h" /* strcasecmp() for Windows */
#include "internal/e_os.h" /* strcasecmp() for Windows */
struct translation_ctx_st; /* Forwarding */
struct translation_st; /* Forwarding */

View File

@ -10,7 +10,7 @@
#include <string.h>
#include <openssl/ec.h>
#include "crypto/ec.h"
#include "e_os.h" /* strcasecmp required by windows */
#include "internal/e_os.h" /* strcasecmp required by windows */
typedef struct ec_name2nid_st {
const char *name;

View File

@ -15,7 +15,7 @@
#include <stdio.h>
#include <string.h>
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include "internal/cryptlib.h"
#include <openssl/evp.h>
#include <openssl/objects.h>

View File

@ -50,7 +50,7 @@
#include "internal/provider.h"
#include "evp_local.h"
#include "e_os.h" /* strcasecmp on Windows */
#include "internal/e_os.h" /* strcasecmp on Windows */
static int pkey_set_type(EVP_PKEY *pkey, ENGINE *e, int type, const char *str,
int len, EVP_KEYMGMT *keymgmt);

View File

@ -10,7 +10,7 @@
#include "internal/ffc.h"
#include "internal/nelem.h"
#include "crypto/bn_dh.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#ifndef OPENSSL_NO_DH

View File

@ -12,7 +12,7 @@
#include "internal/ffc.h"
#include "internal/param_build_set.h"
#include "internal/nelem.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#ifndef FIPS_MODULE
# include <openssl/asn1.h> /* ossl_ffc_params_print */

View File

@ -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)
{

View File

@ -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"

View File

@ -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__)

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h"
#include "internal/e_os.h"
#include <errno.h>
/*

View File

@ -25,7 +25,7 @@
# endif
# endif
#include "e_os.h"
#include "internal/e_os.h"
#include "internal/cryptlib.h"
#if !defined(OPENSSL_NO_STDIO)

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h"
#include "internal/e_os.h"
#include <openssl/err.h>
/*

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "e_os.h"
#include "internal/e_os.h"
#include <limits.h>
#include <openssl/crypto.h>
#include "internal/cryptlib.h"

View File

@ -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"
/*
* We define this wrapper for two reasons. Firstly, later versions of

View File

@ -11,7 +11,7 @@
#include <openssl/params.h>
#include <openssl/param_build.h>
#include "internal/param_build_set.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#define OSSL_PARAM_ALLOCATED_END 127
#define OSSL_PARAM_MERGE_LIST_MAX 128

View File

@ -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)

View File

@ -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>

View File

@ -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 */

View File

@ -27,7 +27,7 @@
#include "crypto/rsa.h"
#include "rsa_local.h"
#include "e_os.h" /* strcasecmp for Windows() */
#include "internal/e_os.h" /* strcasecmp for Windows() */
/*
* The intention with the "backend" source file is to offer backend support

View File

@ -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>

View File

@ -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>

View File

@ -19,7 +19,7 @@
#include "internal/refcount.h"
#include "crypto/cryptlib.h"
#include "e_os.h" /* strcasecmp for Windows */
#include "internal/e_os.h" /* strcasecmp for Windows */
#ifndef OPENSSL_NO_TRACE

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -14,7 +14,7 @@
/* We need to use some engine deprecated APIs */
#define OPENSSL_SUPPRESS_DEPRECATED
#include "../e_os.h" /* for stat and strncasecmp */
#include "internal/e_os.h" /* for stat and strncasecmp */
#include <string.h>
#include <sys/stat.h>
#include <ctype.h>

View File

@ -13,7 +13,7 @@
# include <stdlib.h>
# include <string.h>
# include "../../e_os.h" /* To get strncasecmp() on Windows */
# include "internal/e_os.h" /* To get strncasecmp() on Windows */
# include "internal/nelem.h"

View File

@ -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)

View File

@ -15,7 +15,7 @@
#include <openssl/fipskey.h>
#include <openssl/err.h>
#include <openssl/proverr.h>
#include "e_os.h"
#include "internal/e_os.h"
#include "prov/providercommon.h"
/*

View File

@ -46,7 +46,7 @@
* Otherwise it is the same as CS2.
*/
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include <openssl/core_names.h>
#include "prov/ciphercommon.h"
#include "internal/nelem.h"

View File

@ -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

View File

@ -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)

View File

@ -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;

View File

@ -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>

View File

@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <openssl/core_dispatch.h>

View File

@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>
#include <openssl/bn.h>

View File

@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include <string.h>
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>

View File

@ -10,7 +10,7 @@
#include <assert.h>
#include <string.h>
/* For strcasecmp on Windows */
#include "e_os.h"
#include "internal/e_os.h"
#include <openssl/core_dispatch.h>
#include <openssl/core_names.h>
#include <openssl/params.h>

View File

@ -26,7 +26,7 @@
#include "prov/providercommon.h"
#include "prov/provider_ctx.h"
#include "prov/macsignature.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
static OSSL_FUNC_keymgmt_new_fn mac_new;
static OSSL_FUNC_keymgmt_free_fn mac_free;

View File

@ -14,7 +14,7 @@
#include <openssl/rand.h>
#include <openssl/aes.h>
#include <openssl/proverr.h>
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include "crypto/modes.h"
#include "internal/thread_once.h"
#include "prov/implementations.h"

View File

@ -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>

View File

@ -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>

View File

@ -13,7 +13,7 @@
*/
#include "internal/deprecated.h"
#include "e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
#include <string.h>
#include <openssl/crypto.h>
#include <openssl/core_dispatch.h>

View File

@ -9,7 +9,7 @@
/* This file has quite some overlap with engines/e_loader_attic.c */
#include "e_os.h" /* To get strncasecmp() on Windows */
#include "internal/e_os.h" /* To get strncasecmp() on Windows */
#include <string.h>
#include <sys/stat.h>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 <errno.h>

View File

@ -35,7 +35,7 @@
#include "internal/nelem.h"
#include "internal/sizes.h"
#include "crypto/evp.h"
#include "../e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
static OSSL_LIB_CTX *testctx = NULL;
static char *testpropq = NULL;

View File

@ -33,7 +33,7 @@
#include "testutil.h"
#include "internal/nelem.h"
#include "crypto/bn_dh.h" /* _bignum_ffdhe2048_p */
#include "../e_os.h" /* strcasecmp */
#include "internal/e_os.h" /* strcasecmp */
static OSSL_LIB_CTX *libctx = NULL;
static OSSL_PROVIDER *nullprov = NULL;

View File

@ -12,7 +12,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "../e_os.h" /* strcasecmp and strncasecmp */
#include "internal/e_os.h" /* strcasecmp and strncasecmp */
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/err.h>

View File

@ -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>

View File

@ -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>

View File

@ -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)
{

View File

@ -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