Fix unpack().

This commit is contained in:
Bruno Silvestre 2015-02-12 16:29:02 -02:00
parent 356e03a64d
commit 91d378a86e

View File

@ -8,6 +8,8 @@ local core = require("ssl.core")
local context = require("ssl.context")
local x509 = require("ssl.x509")
local unpack = table.unpack or unpack
-- We must prevent the contexts to be collected before the connections,
-- otherwise the C registry will be cleared.
local registry = setmetatable({}, {__mode="k"})