aboutsummaryrefslogtreecommitdiffstats
path: root/server/resty/openssl/include/conf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/resty/openssl/include/conf.lua')
-rw-r--r--server/resty/openssl/include/conf.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/resty/openssl/include/conf.lua b/server/resty/openssl/include/conf.lua
new file mode 100644
index 0000000..d655993
--- /dev/null
+++ b/server/resty/openssl/include/conf.lua
@@ -0,0 +1,9 @@
+local ffi = require "ffi"
+
+require "resty.openssl.include.ossl_typ"
+
+ffi.cdef [[
+ CONF *NCONF_new(CONF_METHOD *meth);
+ void NCONF_free(CONF *conf);
+ int NCONF_load_bio(CONF *conf, BIO *bp, long *eline);
+]] \ No newline at end of file