aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/axtls.c7
-rw-r--r--lib/vtls/cyassl.c4
-rw-r--r--lib/vtls/nss.c4
-rw-r--r--lib/vtls/openssl.c4
-rw-r--r--lib/vtls/vtls.c4
5 files changed, 12 insertions, 11 deletions
diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c
index 930136a23..08db9c568 100644
--- a/lib/vtls/axtls.c
+++ b/lib/vtls/axtls.c
@@ -40,11 +40,12 @@
#include "connect.h" /* for the connect timeout */
#include "select.h"
#include "curl_printf.h"
-#include "curl_memory.h"
+#include "hostcheck.h"
#include <unistd.h>
-/* The last #include file should be: */
+
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
-#include "hostcheck.h"
/* Global axTLS init, called from Curl_ssl_init() */
diff --git a/lib/vtls/cyassl.c b/lib/vtls/cyassl.c
index 00f2a05cb..d400b3f2c 100644
--- a/lib/vtls/cyassl.c
+++ b/lib/vtls/cyassl.c
@@ -44,7 +44,6 @@
#include "select.h"
#include "rawstr.h"
#include "curl_printf.h"
-#include "curl_memory.h"
#include <cyassl/ssl.h>
#include <cyassl/version.h>
@@ -55,7 +54,8 @@
#endif
#include <cyassl/ctaocrypt/random.h>
-/* The last #include file should be: */
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
static Curl_recv cyassl_recv;
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index ec807c5c2..feb00ca81 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -63,12 +63,12 @@
#include <ocsp.h>
#endif
-#include "curl_memory.h"
#include "rawstr.h"
#include "warnless.h"
#include "x509asn1.h"
-/* The last #include file should be: */
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
#define SSL_DIR "/etc/pki/nssdb"
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 56b5ff112..7a5a7dc30 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -73,10 +73,10 @@
#endif
#include "warnless.h"
-#include "curl_memory.h"
#include "non-ascii.h" /* for Curl_convert_from_utf8 prototype */
-/* The last #include file should be: */
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
#ifndef OPENSSL_VERSION_NUMBER
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index 4980d674f..6973de42a 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -63,7 +63,6 @@
#include "sendf.h"
#include "rawstr.h"
#include "url.h"
-#include "curl_memory.h"
#include "progress.h"
#include "share.h"
#include "timeval.h"
@@ -72,7 +71,8 @@
#include "curl_base64.h"
#include "curl_printf.h"
-/* The last #include file should be: */
+/* The last #include files should be: */
+#include "curl_memory.h"
#include "memdebug.h"
/* convenience macro to check if this handle is using a shared SSL session */