aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-11-15 20:31:47 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2015-11-15 20:31:47 +1100
commitc80559d64791e42f8fec9056343f4629720323e4 (patch)
tree4fce4e0221ee756faa20fe886932eb7f6512c4e5 /src
parent18cb0387fd063f1b2874c44dab11bbc319cc86ca (diff)
downloadluaossl-c80559d64791e42f8fec9056343f4629720323e4.tar.gz
luaossl-c80559d64791e42f8fec9056343f4629720323e4.tar.bz2
luaossl-c80559d64791e42f8fec9056343f4629720323e4.zip
Fix not passing through first cipher argument in vararg form
Diffstat (limited to 'src')
-rw-r--r--src/openssl.ssl.context.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.ssl.context.lua b/src/openssl.ssl.context.lua
index 2da84de..2098b54 100644
--- a/src/openssl.ssl.context.lua
+++ b/src/openssl.ssl.context.lua
@@ -5,7 +5,7 @@ local pack = table.pack or function(...) return { n = select("#", ...); ... } en
-- Allow passing a vararg of ciphers, or an array
local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, ...)
if (...) then
- local ciphers_t = pack(...)
+ local ciphers_t = pack(ciphers, ...)
ciphers = table.concat(ciphers_t, ":", 1, ciphers_t.n)
elseif type(ciphers) == "table" then
ciphers = table.concat(ciphers, ":")