summaryrefslogtreecommitdiff
path: root/src/supplemental/tls/mbedtls/tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/tls/mbedtls/tls.c')
-rw-r--r--src/supplemental/tls/mbedtls/tls.c4
1 files changed, 3 insertions, 1 deletions
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 <stdlib.h>
#include <string.h>
+
#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
+}