~jadedctrl/gem-xwx-moe
~jadedctrl/gem-xwx-moe/gemujo_ludo/flikaĵoj/lua-irc/0001-Don-t-specify-protocol-version-so-that-highest-avail.patch
~jadedctrl/gem-xwx-moe/gemujo_ludo/flikaĵoj/lua-irc/0001-Don-t-specify-protocol-version-so-that-highest-avail.patch
0 | From 5d50aa37d82d4208a37739e79edb5c43bfad122f Mon Sep 17 00:00:00 2001 |
1 | From: D Tim Cummings <tim@triptera.com.au> |
2 | Date: Sun, 3 Jan 2021 19:50:55 +1000 |
3 | Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20specify=20protocol=20version=20?= |
4 | =?UTF-8?q?so=20that=20highest=20available=20protocol=20will=20be=20used?= |
5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit |
8 |
|
9 | tlsv1 and tlsv1_1 are insecure, deprecated and no longer available on Ubuntu as of 20.04 |
10 | --- |
11 | init.lua | 2 +- |
12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 |
|
14 | diff --git a/init.lua b/init.lua |
15 | index 99ae7f5..3434cc9 100644 |
16 | --- a/init.lua |
17 | +++ b/init.lua |
18 | @@ -106,7 +106,7 @@ function meta_preconnect:connect(_host, _port) |
19 | if type(secure) == "table" then |
20 | params = secure |
21 | else |
22 | - params = {mode = "client", protocol = "tlsv1"} |
23 | + params = {mode = "client", protocol = "any"} |
24 | end |
25 | |
26 | s = ssl.wrap(s, params) |
27 | -- |
28 | 2.45.2 |
29 |
|