diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-02 16:38:49 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-02 17:15:47 -0800 |
| commit | 6ea6b8659ffc2bdff325a3d71c67cc1cfb854c51 (patch) | |
| tree | ef6f6fc35e71f2279b118e6b9cbfecd275b696cf /tests | |
| parent | 48a1033794eb423c3f216bba02abd61240306e0d (diff) | |
| download | nng-6ea6b8659ffc2bdff325a3d71c67cc1cfb854c51.tar.gz nng-6ea6b8659ffc2bdff325a3d71c67cc1cfb854c51.tar.bz2 nng-6ea6b8659ffc2bdff325a3d71c67cc1cfb854c51.zip | |
Isolate TLS functions into separate tls.h header file.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/httpclient.c | 1 | ||||
| -rw-r--r-- | tests/httpserver.c | 1 | ||||
| -rw-r--r-- | tests/tls.c | 2 | ||||
| -rw-r--r-- | tests/wss.c | 1 | ||||
| -rw-r--r-- | tests/wssfile.c | 2 |
5 files changed, 6 insertions, 1 deletions
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 = "<html><body>Someone <b>is</b> home!</body</html>"; 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" |
