aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/tls/mbedtls
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-04 11:45:29 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-04 12:34:16 -0800
commitf82df257d6fc23477d7260f82ec66971be2813a2 (patch)
treee535a5cdb8696fcc5e5487a75d1961d84212f340 /src/supplemental/tls/mbedtls
parentd7fa10e49e693793d874100652b6ca5741b63365 (diff)
downloadnng-f82df257d6fc23477d7260f82ec66971be2813a2.tar.gz
nng-f82df257d6fc23477d7260f82ec66971be2813a2.tar.bz2
nng-f82df257d6fc23477d7260f82ec66971be2813a2.zip
api: fold TLS supplemental headers into nng.h
Diffstat (limited to 'src/supplemental/tls/mbedtls')
-rw-r--r--src/supplemental/tls/mbedtls/tls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supplemental/tls/mbedtls/tls.c b/src/supplemental/tls/mbedtls/tls.c
index 9adae588..7764bbbf 100644
--- a/src/supplemental/tls/mbedtls/tls.c
+++ b/src/supplemental/tls/mbedtls/tls.c
@@ -1,5 +1,5 @@
//
-// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
// Copyright 2019 Devolutions <info@devolutions.net>
//
@@ -22,7 +22,8 @@
#endif
#include "nng/nng.h"
-#include "nng/supplemental/tls/tls.h"
+
+#include "../tls_engine.h"
// mbedTLS renamed this header for 2.4.0.
#if MBEDTLS_VERSION_MAJOR > 2 || MBEDTLS_VERSION_MINOR >= 4
@@ -35,7 +36,6 @@
#include "mbedtls/ssl.h"
#include "core/nng_impl.h"
-#include <nng/supplemental/tls/engine.h>
// pair holds a private key and the associated certificate.
typedef struct {