summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-02-04 15:13:01 +0100
committerTomas Mraz <tomas@openssl.org>2022-11-11 10:03:45 +0100
commit97477bb6c485e8b7e755ead7bb2e709c68f45f5f (patch)
tree644a9e74d16abd58bdd98a745aa467f7a242d92f /crypto/ec
parent70df6caa0bf198258c657ee472dea47c4727b039 (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) (cherry picked from commit d5f9166bacfb3757dfd6117310ad54ab749b11f9) Reviewed-by: Hugo Landau <hlandau@openssl.org>
Diffstat (limited to 'crypto/ec')
-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
3 files changed, 3 insertions, 3 deletions
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 */