aboutsummaryrefslogtreecommitdiff
path: root/tests/httpclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/httpclient.c')
-rw-r--r--tests/httpclient.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/httpclient.c b/tests/httpclient.c
index 75ecbae9..46950528 100644
--- a/tests/httpclient.c
+++ b/tests/httpclient.c
@@ -8,19 +8,24 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "convey.h"
-#include "trantest.h"
+// Basic HTTP client tests.
+
#ifndef _WIN32
#include <arpa/inet.h>
#endif
-// Basic HTTP client tests.
+#include <nng/nng.h>
+#include <nng/supplemental/http/http.h>
+#include <nng/supplemental/tls/tls.h>
+
#include "core/nng_impl.h"
-#include "supplemental/http/http.h"
+
#include "supplemental/sha1/sha1.c"
#include "supplemental/sha1/sha1.h"
-#include "supplemental/tls/tls.h"
+
+#include "convey.h"
+#include "trantest.h"
const uint8_t example_sum[20] = { 0x0e, 0x97, 0x3b, 0x59, 0xf4, 0x76, 0x00,
0x7f, 0xd1, 0x0f, 0x87, 0xf3, 0x47, 0xc3, 0x95, 0x60, 0x65, 0x51, 0x6f,