diff options
Diffstat (limited to 'tests/wssfile.c')
| -rw-r--r-- | tests/wssfile.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/tests/wssfile.c b/tests/wssfile.c index 9117c277..3ce26e1a 100644 --- a/tests/wssfile.c +++ b/tests/wssfile.c @@ -8,21 +8,19 @@ // found online at https://opensource.org/licenses/MIT. // -#include "convey.h" -#include "nng.h" -#include "protocol/pair1/pair.h" -#include "supplemental/tls/tls.h" -#include "transport/ws/websocket.h" - -#include "trantest.h" - -#include "stubs.h" -// TCP tests. - #ifndef _WIN32 #include <arpa/inet.h> #endif +#include <nng/nng.h> +#include <nng/protocol/pair1/pair.h> +#include <nng/supplemental/tls/tls.h> +#include <nng/transport/ws/websocket.h> + +#include "convey.h" +#include "stubs.h" +#include "trantest.h" + // These keys are for demonstration purposes ONLY. DO NOT USE. // The certificate is valid for 100 years, because I don't want to // have to regenerate it ever again. The CN is 127.0.0.1, and self-signed. @@ -267,7 +265,6 @@ init_listener_wss_file(nng_listener l) } TestMain("WebSocket Secure (TLS) Transport (file based)", { - static trantest tt; tt.dialer_init = init_dialer_wss_file; |
