diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-19 10:40:26 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-19 19:16:30 -0700 |
| commit | 611c4acdddab9d702d235c2bcfe3b69002e93569 (patch) | |
| tree | 6a1065c07db8eb01cd4be0a436e9375ad3979b90 /src/supplemental/tls/CMakeLists.txt | |
| parent | 29769c0c3623a023eb12edb378b19116f64ee5b7 (diff) | |
| download | nng-611c4acdddab9d702d235c2bcfe3b69002e93569.tar.gz nng-611c4acdddab9d702d235c2bcfe3b69002e93569.tar.bz2 nng-611c4acdddab9d702d235c2bcfe3b69002e93569.zip | |
Add support for OpenSSL v3.5 and newer.
We are *only* supporting 3.5 (or newer 3.x releases) as its the newest LTS version of OpenSSL.
This supports the full set of TLS features with NNG, including DTLS, PSK, TLS 1.3, etc.
Future work will explore making using of the QUIC support in OpenSSL.
Note that this OpenSSL work sits on top of NNG's TCP streams, so it cannot benefit from
Linux in-kernel TLS or other features such as TCP fast open at this time.
Diffstat (limited to 'src/supplemental/tls/CMakeLists.txt')
| -rw-r--r-- | src/supplemental/tls/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/supplemental/tls/CMakeLists.txt b/src/supplemental/tls/CMakeLists.txt index 41587915..a9c3af65 100644 --- a/src/supplemental/tls/CMakeLists.txt +++ b/src/supplemental/tls/CMakeLists.txt @@ -14,7 +14,7 @@ if (NNG_ENABLE_TLS) # List of TLS engines we support. TLS engines must support TLS 1.2 or better, # and must also support DTLS. Support for PSK is preferred. - set(NNG_TLS_ENGINES mbed wolf none) + set(NNG_TLS_ENGINES mbed wolf openssl none) # We assume Mbed for now. set(NNG_TLS_ENGINE mbed CACHE STRING "TLS engine to use.") set_property(CACHE NNG_TLS_ENGINE PROPERTY STRINGS ${NNG_TLS_ENGINES}) @@ -28,6 +28,7 @@ endif () add_subdirectory(mbedtls) add_subdirectory(wolfssl) +add_subdirectory(openssl) if (NNG_ENABLE_TLS) nng_sources(tls_common.c tls_dialer.c tls_listener.c tls_stream.c) |
