From 1ca297dd9cd5daaab9be45d210f0f4df814cea03 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 16 Nov 2024 13:27:45 -0800 Subject: tls: remove support for TLS 1.0 and 1.1. Those old algorithms are not used anywhere, and are not recommended. TLS 1.2 support has been prevalent for over a decade. --- docs/ref/migrate/nng1.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/ref/migrate') diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md index 2c6087e2..2a1456b7 100644 --- a/docs/ref/migrate/nng1.md +++ b/docs/ref/migrate/nng1.md @@ -54,6 +54,12 @@ Likewise, when using the streams API, use the [`nng_stream_listener_set_tls`] or Note that the declarations needed for TLS configuration are now available in ``, rather than the supplemental header. +## Old TLS Versions Removed + +Support for very old TLS versions 1.0 and 1.1 is removed. +Further, the `NNG_TLS_1_0` and `NNG_TLS_1_1` constants are also removed. +Applications should use `NNG_TLS_1_2` or even `NNG_TLS_1_3` instead. + ## Option Functions The previously deprecated `nng_pipe_getopt_xxx` family of functions is removed. -- cgit v1.2.3-70-g09d2