aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openssl.ssl.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/openssl.ssl.lua b/src/openssl.ssl.lua
index bf90f29..2a18024 100644
--- a/src/openssl.ssl.lua
+++ b/src/openssl.ssl.lua
@@ -2,6 +2,12 @@ local ssl = require"_openssl.ssl"
local pack = table.pack or function(...) return { n = select("#", ...); ... } end
+ssl.interpose("setStore", function(self, store)
+ self:setChainStore(store)
+ self:setVerifyStore(store)
+ return true
+end)
+
-- Allow passing a vararg of curves, or an array
local setCurvesList = ssl.interpose("setCurvesList", nil)
if setCurvesList then