From 6ea6b8659ffc2bdff325a3d71c67cc1cfb854c51 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 2 Mar 2018 16:38:49 -0800 Subject: Isolate TLS functions into separate tls.h header file. --- tests/httpclient.c | 1 + tests/httpserver.c | 1 + tests/tls.c | 2 +- tests/wss.c | 1 + tests/wssfile.c | 2 ++ 5 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/httpclient.c b/tests/httpclient.c index 7a38ed8d..db107f74 100644 --- a/tests/httpclient.c +++ b/tests/httpclient.c @@ -17,6 +17,7 @@ // Basic HTTP client tests. #include "core/nng_impl.h" +#include "supplemental/tls/tls.h" #include "supplemental/http/http.h" #include "supplemental/sha1/sha1.h" diff --git a/tests/httpserver.c b/tests/httpserver.c index e24c081f..acbe237a 100644 --- a/tests/httpserver.c +++ b/tests/httpserver.c @@ -17,6 +17,7 @@ // Basic HTTP server tests. #include "core/nng_impl.h" +#include "supplemental/tls/tls.h" #include "supplemental/http/http.h" const char *doc1 = "Someone is home!"; diff --git a/tests/tls.c b/tests/tls.c index 02a89f97..31041fa5 100644 --- a/tests/tls.c +++ b/tests/tls.c @@ -11,7 +11,7 @@ #include "convey.h" #include "nng.h" #include "protocol/pair1/pair.h" - +#include "supplemental/tls/tls.h" #include "transport/tls/tls.h" #include "trantest.h" diff --git a/tests/wss.c b/tests/wss.c index ebb2e310..96dc9bd9 100644 --- a/tests/wss.c +++ b/tests/wss.c @@ -11,6 +11,7 @@ #include "convey.h" #include "nng.h" #include "protocol/pair1/pair.h" +#include "supplemental/tls/tls.h" #include "transport/ws/websocket.h" #include "trantest.h" diff --git a/tests/wssfile.c b/tests/wssfile.c index 82c519e1..8b5b0126 100644 --- a/tests/wssfile.c +++ b/tests/wssfile.c @@ -12,6 +12,8 @@ #include "nng.h" #include "protocol/pair1/pair.h" #include "transport/ws/websocket.h" +#include "supplemental/tls/tls.h" + #include "trantest.h" #include "stubs.h" -- cgit v1.2.3-70-g09d2