From ed25cd6f8577b56c19ea3fc1473a2b7d2779c9b2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Oct 2018 16:12:30 +0100 Subject: util.sslconfig: Recognise TLS 1.3 as a protocol version This enables it to understand protocol = "tlsv1_3+" --- util/sslconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/sslconfig.lua b/util/sslconfig.lua index 5c685f7d..a5827a76 100644 --- a/util/sslconfig.lua +++ b/util/sslconfig.lua @@ -70,7 +70,7 @@ finalisers.curveslist = finalisers.ciphers; -- protocol = "x" should enable only that protocol -- protocol = "x+" should enable x and later versions -local protocols = { "sslv2", "sslv3", "tlsv1", "tlsv1_1", "tlsv1_2" }; +local protocols = { "sslv2", "sslv3", "tlsv1", "tlsv1_1", "tlsv1_2", "tlsv1_3" }; for i = 1, #protocols do protocols[protocols[i] .. "+"] = i - 1; end -- this interacts with ssl.options as well to add no_x -- cgit v1.2.3