diff options
Diffstat (limited to 'community/lua-copas/default-tls1.2.patch')
-rw-r--r-- | community/lua-copas/default-tls1.2.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/lua-copas/default-tls1.2.patch b/community/lua-copas/default-tls1.2.patch new file mode 100644 index 0000000000..f6fd5433d7 --- /dev/null +++ b/community/lua-copas/default-tls1.2.patch @@ -0,0 +1,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" + |