summaryrefslogtreecommitdiffstats
path: root/crypto/engine
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 /crypto/engine
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 'crypto/engine')
-rw-r--r--crypto/engine/eng_devcrypto.c3
-rw-r--r--crypto/engine/eng_init.c2
-rw-r--r--crypto/engine/eng_lib.c2
-rw-r--r--crypto/engine/tb_asnmth.c2
4 files changed, 4 insertions, 5 deletions
diff --git a/crypto/engine/eng_devcrypto.c b/crypto/engine/eng_devcrypto.c
index 19781b8ab0..f2196b4e54 100644
--- a/crypto/engine/eng_devcrypto.c
+++ b/crypto/engine/eng_devcrypto.c
@@ -7,6 +7,7 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -15,8 +16,6 @@
#include <unistd.h>
#include <assert.h>
-#include "e_os.h"
-
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/engine.h>
diff --git a/crypto/engine/eng_init.c b/crypto/engine/eng_init.c
index 3d5eaa14e4..7c235fc472 100644
--- a/crypto/engine/eng_init.c
+++ b/crypto/engine/eng_init.c
@@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
-#include "eng_int.h"
#include "e_os.h"
+#include "eng_int.h"
/*
* Initialise a engine type for use (or up its functional reference count if
diff --git a/crypto/engine/eng_lib.c b/crypto/engine/eng_lib.c
index 51998340a9..c060a5d6ac 100644
--- a/crypto/engine/eng_lib.c
+++ b/crypto/engine/eng_lib.c
@@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
-#include "eng_int.h"
#include "e_os.h"
+#include "eng_int.h"
#include <openssl/rand.h>
#include "internal/refcount.h"
diff --git a/crypto/engine/tb_asnmth.c b/crypto/engine/tb_asnmth.c
index ca3727e902..bc6e91ccab 100644
--- a/crypto/engine/tb_asnmth.c
+++ b/crypto/engine/tb_asnmth.c
@@ -7,8 +7,8 @@
* https://www.openssl.org/source/license.html
*/
-#include "eng_int.h"
#include "e_os.h"
+#include "eng_int.h"
#include <openssl/evp.h>
#include "internal/asn1_int.h"