aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/tls/mbedtls/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-06-21 18:29:24 -0700
committerGarrett D'Amore <garrett@damore.org>2025-06-21 21:11:18 -0700
commit258ae680ca0db3471bbf7345472ff92a030c13a0 (patch)
treecc0b0067a589b7f174715fad50932a3d31437bbb /src/supplemental/tls/mbedtls/CMakeLists.txt
parent39b86ba0a4f77ba1aa32586a782354f7505409ee (diff)
downloadnng-258ae680ca0db3471bbf7345472ff92a030c13a0.tar.gz
nng-258ae680ca0db3471bbf7345472ff92a030c13a0.tar.bz2
nng-258ae680ca0db3471bbf7345472ff92a030c13a0.zip
TLS: Remove support for dynamic engine initialization.
This saves some atomic lookups, and avoids possible races when the engine is not yet initialized or being torn down.
Diffstat (limited to 'src/supplemental/tls/mbedtls/CMakeLists.txt')
-rw-r--r--src/supplemental/tls/mbedtls/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/supplemental/tls/mbedtls/CMakeLists.txt b/src/supplemental/tls/mbedtls/CMakeLists.txt
index 466f0a1b..573cf5ca 100644
--- a/src/supplemental/tls/mbedtls/CMakeLists.txt
+++ b/src/supplemental/tls/mbedtls/CMakeLists.txt
@@ -14,8 +14,6 @@ if (NNG_TLS_ENGINE STREQUAL "mbed")
Consult a lawyer and the license files for details.
************************************************************")
nng_sources(mbedtls.c)
- nng_defines(NNG_TLS_ENGINE_INIT=nng_tls_engine_init_mbed)
- nng_defines(NNG_TLS_ENGINE_FINI=nng_tls_engine_fini_mbed)
nng_defines(NNG_SUPP_TLS)
# For now Mbed TLS has PSK unconditionally
nng_defines(NNG_SUPP_TLS_PSK)