mirror of
https://github.com/brunoos/luasec.git
synced 2025-02-13 23:42:49 +01:00
Fix unpack().
This commit is contained in:
parent
356e03a64d
commit
91d378a86e
@ -8,6 +8,8 @@ local core = require("ssl.core")
|
|||||||
local context = require("ssl.context")
|
local context = require("ssl.context")
|
||||||
local x509 = require("ssl.x509")
|
local x509 = require("ssl.x509")
|
||||||
|
|
||||||
|
local unpack = table.unpack or unpack
|
||||||
|
|
||||||
-- We must prevent the contexts to be collected before the connections,
|
-- We must prevent the contexts to be collected before the connections,
|
||||||
-- otherwise the C registry will be cleared.
|
-- otherwise the C registry will be cleared.
|
||||||
local registry = setmetatable({}, {__mode="k"})
|
local registry = setmetatable({}, {__mode="k"})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user