From 02178a8b5843a2c5a59fb7b104e4f9f5df1ff5ee Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 9 Nov 2017 14:09:14 -0800 Subject: fixes #3 TLS transport This introduces a new transport (compatible with the TLS transport from mangos), using TLS v1.2. To use the new transport, you must have the mbed TLS library available on your system (Xenial libmbedtls-dev). You can use version 2.x or newer -- 1.3.x and PolarSSL versions are not supported. You enable the TLS transport with -DNNG_TRANSPORT_TLS=ON in the CMake configuration. You must configure the server certificate by default, and this can only be done using nng options. See the nng_tls man page for details. This work is experimental, and was made possible by Capitar IT Group BV, and Staysail Systems, Inc. --- src/transport/ipc/ipc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/ipc') diff --git a/src/transport/ipc/ipc.h b/src/transport/ipc/ipc.h index f19762c7..4c4c5708 100644 --- a/src/transport/ipc/ipc.h +++ b/src/transport/ipc/ipc.h @@ -14,6 +14,6 @@ // ipc transport. This is used for inter-process communication on // the same host computer. -extern int nng_ipc_register(void); +NNG_DECL int nng_ipc_register(void); #endif // NNG_TRANSPORT_IPC_IPC_H -- cgit v1.2.3-70-g09d2