aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-copas/default-tls1.2.patch
blob: f6fd5433d73ba00cec81dd5539e886d4e4bab834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/copas/http.lua b/src/copas/http.lua
index d9767fe..8e8dc64 100644
--- a/src/copas/http.lua
+++ b/src/copas/http.lua
@@ -35,7 +35,7 @@ _M.USERAGENT = socket._VERSION
 
 -- Default settings for SSL
 _M.SSLPORT = 443
-_M.SSLPROTOCOL = "tlsv1"
+_M.SSLPROTOCOL = "tlsv1_2"
 _M.SSLOPTIONS  = "all"
 _M.SSLVERIFY   = "none"