summaryrefslogtreecommitdiffstats
path: root/providers/implementations/rands
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 /providers/implementations/rands
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 'providers/implementations/rands')
-rw-r--r--providers/implementations/rands/drbg_ctr.c2
-rw-r--r--providers/implementations/rands/seeding/rand_unix.c2
-rw-r--r--providers/implementations/rands/seeding/rand_vms.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/providers/implementations/rands/drbg_ctr.c b/providers/implementations/rands/drbg_ctr.c
index dbe57b0d28..1384a43390 100644
--- a/providers/implementations/rands/drbg_ctr.c
+++ b/providers/implementations/rands/drbg_ctr.c
@@ -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"
diff --git a/providers/implementations/rands/seeding/rand_unix.c b/providers/implementations/rands/seeding/rand_unix.c
index f394927dae..6858d276cb 100644
--- a/providers/implementations/rands/seeding/rand_unix.c
+++ b/providers/implementations/rands/seeding/rand_unix.c
@@ -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>
diff --git a/providers/implementations/rands/seeding/rand_vms.c b/providers/implementations/rands/seeding/rand_vms.c
index 30a97bf6e4..ed4f75855d 100644
--- a/providers/implementations/rands/seeding/rand_vms.c
+++ b/providers/implementations/rands/seeding/rand_vms.c
@@ -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>