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. --- src/supplemental/tls/wolfssl/wolfssl.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/supplemental/tls/wolfssl') diff --git a/src/supplemental/tls/wolfssl/wolfssl.c b/src/supplemental/tls/wolfssl/wolfssl.c index 626a75d9..c2d6196a 100644 --- a/src/supplemental/tls/wolfssl/wolfssl.c +++ b/src/supplemental/tls/wolfssl/wolfssl.c @@ -602,12 +602,6 @@ wolf_config_version(nng_tls_engine_config *cfg, nng_tls_version min_ver, return (NNG_ENOTSUP); } switch (min_ver) { - case NNG_TLS_1_0: - rv = wolfSSL_CTX_SetMinVersion(cfg->ctx, WOLFSSL_TLSV1); - break; - case NNG_TLS_1_1: - rv = wolfSSL_CTX_SetMinVersion(cfg->ctx, WOLFSSL_TLSV1_1); - break; case NNG_TLS_1_2: rv = wolfSSL_CTX_SetMinVersion(cfg->ctx, WOLFSSL_TLSV1_2); break; -- cgit v1.2.3-70-g09d2