diff options
-rw-r--r-- | src/openssl.ssl.lua | 6 |
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 |