diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-16 13:27:45 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-16 13:53:28 -0800 |
| commit | 1ca297dd9cd5daaab9be45d210f0f4df814cea03 (patch) | |
| tree | a02dfe064e3a768b976407af62ab988202dcef9c /include | |
| parent | 9ecd18c0089195ad914f68137e7671c267e55a99 (diff) | |
| download | nng-1ca297dd9cd5daaab9be45d210f0f4df814cea03.tar.gz nng-1ca297dd9cd5daaab9be45d210f0f4df814cea03.tar.bz2 nng-1ca297dd9cd5daaab9be45d210f0f4df814cea03.zip | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index a265bcf1..77122993 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1499,12 +1499,9 @@ typedef enum nng_tls_auth_mode { } nng_tls_auth_mode; // TLS version numbers. We encode the major number and minor number -// as separate byte fields. No support for SSL 3.0 or earlier -- older +// as separate byte fields. No support for TLS 1.1 or earlier -- older // versions are known to be insecure and should not be used. -// When possible applications should restrict themselves to TLS 1.2 or better. typedef enum nng_tls_version { - NNG_TLS_1_0 = 0x301, - NNG_TLS_1_1 = 0x302, NNG_TLS_1_2 = 0x303, NNG_TLS_1_3 = 0x304 } nng_tls_version; |
