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. --- src/supplemental/tls/mbedtls/tls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/supplemental/tls/mbedtls/tls.c') diff --git a/src/supplemental/tls/mbedtls/tls.c b/src/supplemental/tls/mbedtls/tls.c index 1e008668..8faf4e46 100644 --- a/src/supplemental/tls/mbedtls/tls.c +++ b/src/supplemental/tls/mbedtls/tls.c @@ -13,6 +13,7 @@ #include #include + #include "mbedtls/version.h" // Must be first in order to pick up version #include "mbedtls/error.h" @@ -29,6 +30,7 @@ #include "core/nng_impl.h" #include "supplemental/tls/tls.h" +#include "supplemental/tls/tls_api.h" // Implementation note. This implementation buffers data between the TLS // encryption layer (mbedTLS) and the underlying TCP socket. As a result, @@ -980,4 +982,4 @@ void nng_tls_config_free(nng_tls_config *cfg) { nni_tls_config_fini(cfg); -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2