summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
5-- Allow passing a vararg of ciphers, or an array 5-- Allow passing a vararg of ciphers, or an array
6local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, ...) 6local setCipherList; setCipherList = ctx.interpose("setCipherList", function (self, ciphers, ...)
7 if (...) then 7 if (...) then
8 local ciphers_t = pack(...) 8 local ciphers_t = pack(ciphers, ...)
9 ciphers = table.concat(ciphers_t, ":", 1, ciphers_t.n) 9 ciphers = table.concat(ciphers_t, ":", 1, ciphers_t.n)
10 elseif type(ciphers) == "table" then 10 elseif type(ciphers) == "table" then
11 ciphers = table.concat(ciphers, ":") 11 ciphers = table.concat(ciphers, ":")