summaryrefslogtreecommitdiffstats
path: root/crypto/ffc
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-02-04 15:13:01 +0100
committerRichard Levitte <levitte@openssl.org>2022-02-05 05:31:09 +0100
commitd5f9166bacfb3757dfd6117310ad54ab749b11f9 (patch)
tree2ee6532788cf791a75e7e658ab8b9709c1d8ee62 /crypto/ffc
parent77f3936928068bee9d7e0c6939709ac179cb1059 (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/ffc')
-rw-r--r--crypto/ffc/ffc_dh.c2
-rw-r--r--crypto/ffc/ffc_params.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ffc/ffc_dh.c b/crypto/ffc/ffc_dh.c
index e9f597c46c..cedf283533 100644
--- a/crypto/ffc/ffc_dh.c
+++ b/crypto/ffc/ffc_dh.c
@@ -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
diff --git a/crypto/ffc/ffc_params.c b/crypto/ffc/ffc_params.c
index 6e025a06be..1078a7b845 100644
--- a/crypto/ffc/ffc_params.c
+++ b/crypto/ffc/ffc_params.c
@@ -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 */