mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.sslconfig: Recognise TLS 1.3 as a protocol version
This enables it to understand protocol = "tlsv1_3+"
This commit is contained in:
parent
5914d0d695
commit
ed25cd6f85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue