diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-28 16:12:30 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-28 16:12:30 +0100 |
commit | 0002b7b62ff956fb7d40f9be3f339244c6fe6f08 (patch) | |
tree | 9d4e05fb3651f8fa889e0d46da92025c90fc25d6 /util | |
parent | 0fb09c9328c33908898b2db5050a60d6ee595b11 (diff) | |
download | prosody-0002b7b62ff956fb7d40f9be3f339244c6fe6f08.tar.gz prosody-0002b7b62ff956fb7d40f9be3f339244c6fe6f08.zip |
util.sslconfig: Recognise TLS 1.3 as a protocol version
This enables it to understand protocol = "tlsv1_3+"
Diffstat (limited to 'util')
-rw-r--r-- | util/sslconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |