summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-24 09:05:07 +1000
committerPauli <paul.dale@oracle.com>2017-08-30 07:20:44 +1000
commit07016a8a3174db5caf07182930533cf88ad9b0ad (patch)
tree42dcb67fa6c72635b76590f8ab698bb4c692d838 /test
parent9590da2cd67ae23588568c57556d6140fb86f892 (diff)
Move e_os.h to be the very first include.
cryptilib.h is the second. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4188)
Diffstat (limited to 'test')
-rw-r--r--test/bntest.c2
-rw-r--r--test/ssl_test_ctx.c2
-rw-r--r--test/ssltest_old.c4
-rw-r--r--test/v3nametest.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/test/bntest.c b/test/bntest.c
index 667cba67a7..6f1f5d7cd9 100644
--- a/test/bntest.c
+++ b/test/bntest.c
@@ -6,6 +6,7 @@
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
+#include "../e_os.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
@@ -13,7 +14,6 @@
#include <ctype.h>
#include "internal/nelem.h"
-#include "../e_os.h"
#include "internal/numbers.h"
#include <openssl/bn.h>
#include <openssl/crypto.h>
diff --git a/test/ssl_test_ctx.c b/test/ssl_test_ctx.c
index d4642e78ac..0be68c7e3c 100644
--- a/test/ssl_test_ctx.c
+++ b/test/ssl_test_ctx.c
@@ -7,13 +7,13 @@
* https://www.openssl.org/source/license.html
*/
+#include "../e_os.h"
#include <string.h>
#include <openssl/e_os2.h>
#include <openssl/crypto.h>
#include "internal/nelem.h"
-#include "../e_os.h"
#include "ssl_test_ctx.h"
#include "testutil.h"
diff --git a/test/ssltest_old.c b/test/ssltest_old.c
index faabc2dff0..ebe052f55c 100644
--- a/test/ssltest_old.c
+++ b/test/ssltest_old.c
@@ -9,6 +9,8 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
+
/* Or gethostname won't be declared properly on Linux and GNU platforms. */
#ifndef _BSD_SOURCE
# define _BSD_SOURCE 1
@@ -27,8 +29,6 @@
#include "internal/nelem.h"
-#include "e_os.h"
-
#ifdef OPENSSL_SYS_VMS
/*
* Or isascii won't be declared properly on VMS (at least with DECompHP C).
diff --git a/test/v3nametest.c b/test/v3nametest.c
index a4ba775b5c..0d55f81ba3 100644
--- a/test/v3nametest.c
+++ b/test/v3nametest.c
@@ -7,9 +7,9 @@
* https://www.openssl.org/source/license.html
*/
+#include "../e_os.h"
#include <string.h>
#include "internal/nelem.h"
-#include "../e_os.h"
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "testutil.h"