mirror of https://github.com/openssl/openssl
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:
parent
77f3936928
commit
d5f9166bac
|
@ -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() */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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) || \
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
#include "internal/deprecated.h"
|
||||
|
||||
#include "e_os.h"
|
||||
#include "internal/e_os.h"
|
||||
#include "des_local.h"
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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__)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#endif
|
||||
|
||||
#include "dso_local.h"
|
||||
#include "e_os.h"
|
||||
#include "internal/e_os.h"
|
||||
|
||||
#ifdef DSO_DLFCN
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
/*
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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__)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "e_os.h"
|
||||
#include "internal/e_os.h"
|
||||
#include <errno.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# endif
|
||||
# endif
|
||||
|
||||
#include "e_os.h"
|
||||
#include "internal/e_os.h"
|
||||
#include "internal/cryptlib.h"
|
||||
|
||||
#if !defined(OPENSSL_NO_STDIO)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "e_os.h"
|
||||
#include "internal/e_os.h"
|
||||
#include <openssl/err.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
||||
/*
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue