mirror of
https://github.com/brunoos/luasec.git
synced 2024-11-07 22:18:27 +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 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"})
|
||||
|
Loading…
Reference in New Issue
Block a user