Software /
code /
prosody
Comparison
util/sslconfig.lua @ 11200:bf8f2da84007
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Nov 2020 22:31:25 +0100 |
parent | 10920:c171b4c59bd1 |
child | 12480:7e9ebdc75ce4 |
comparison
equal
deleted
inserted
replaced
11199:6c7c50a4de32 | 11200:bf8f2da84007 |
---|---|
65 end | 65 end |
66 | 66 |
67 -- Curve list too | 67 -- Curve list too |
68 finalisers.curveslist = finalisers.ciphers; | 68 finalisers.curveslist = finalisers.ciphers; |
69 | 69 |
70 -- TLS 1.3 ciphers | |
71 finalisers.ciphersuites = finalisers.ciphers; | |
72 | |
70 -- protocol = "x" should enable only that protocol | 73 -- protocol = "x" should enable only that protocol |
71 -- protocol = "x+" should enable x and later versions | 74 -- protocol = "x+" should enable x and later versions |
72 | 75 |
73 local protocols = { "sslv2", "sslv3", "tlsv1", "tlsv1_1", "tlsv1_2", "tlsv1_3" }; | 76 local protocols = { "sslv2", "sslv3", "tlsv1", "tlsv1_1", "tlsv1_2", "tlsv1_3" }; |
74 for i = 1, #protocols do protocols[protocols[i] .. "+"] = i - 1; end | 77 for i = 1, #protocols do protocols[protocols[i] .. "+"] = i - 1; end |