Changeset

9584:2860f8dabf35 0.11

util.sslconfig: Recognise TLS 1.3 as a protocol version This enables it to understand protocol = "tlsv1_3+"
author Kim Alvefur <zash@zash.se>
date Sun, 28 Oct 2018 16:12:30 +0100
parents 9583:4552ba1333ac
children 9585:27473374aee8
files util/sslconfig.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/sslconfig.lua	Sun Oct 28 01:40:52 2018 +0200
+++ b/util/sslconfig.lua	Sun Oct 28 16:12:30 2018 +0100
@@ -70,7 +70,7 @@
 -- 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