summaryrefslogtreecommitdiff
path: root/luasec-prosody-git/luasec-prosody.patch
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2013-09-04 14:01:35 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2013-09-04 14:01:35 +0200
commitf385d6d42405b12a753f33fa81c16c8f05f76de0 (patch)
tree3a9c8e8fd8e410dac741941a17fc5785239f85b9 /luasec-prosody-git/luasec-prosody.patch
parent66d667cd8b58d877fed04bc5f3d67938501a8277 (diff)
downloadarch-packages-f385d6d42405b12a753f33fa81c16c8f05f76de0.tar.gz
update luasec
Diffstat (limited to 'luasec-prosody-git/luasec-prosody.patch')
-rw-r--r--luasec-prosody-git/luasec-prosody.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/luasec-prosody-git/luasec-prosody.patch b/luasec-prosody-git/luasec-prosody.patch
index 41d007f..2d2672b 100644
--- a/luasec-prosody-git/luasec-prosody.patch
+++ b/luasec-prosody-git/luasec-prosody.patch
@@ -11,3 +11,16 @@ index c8aa90f..31e27c8 100644
# Compile with build-in LuaSocket's help files.
# Comment this lines if you will link with non-internal LuaSocket's help files
+diff --git a/src/ssl.lua b/src/ssl.lua
+index 1b062f6..1b63e70 100644
+--- a/src/ssl.lua
++++ b/src/ssl.lua
+@@ -4,6 +4,8 @@
+ --
+ ------------------------------------------------------------------------------
+
++local unpack = unpack or table.unpack
++
+ local core = require("ssl.core")
+ local context = require("ssl.context")
+ local x509 = require("ssl.x509")