diff options
author | Richard Levitte <levitte@openssl.org> | 2022-02-04 15:13:01 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-02-05 05:31:09 +0100 |
commit | d5f9166bacfb3757dfd6117310ad54ab749b11f9 (patch) | |
tree | 2ee6532788cf791a75e7e658ab8b9709c1d8ee62 /crypto/dh | |
parent | 77f3936928068bee9d7e0c6939709ac179cb1059 (diff) |
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)
Diffstat (limited to 'crypto/dh')
-rw-r--r-- | crypto/dh/dh_group_params.c | 2 | ||||
-rw-r--r-- | crypto/dh/dh_kdf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/dh/dh_group_params.c b/crypto/dh/dh_group_params.c index c71f4053da..dec50caf66 100644 --- a/crypto/dh/dh_group_params.c +++ b/crypto/dh/dh_group_params.c @@ -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) { diff --git a/crypto/dh/dh_kdf.c b/crypto/dh/dh_kdf.c index 419e7711d3..eda3d3998a 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> |