13:ebe0d286481c | 14:1927b7b32faf |
---|---|
1 #include <openssl/x509v3.h> | |
2 #include <lua.h> | |
3 | |
4 typedef struct t_x509_ { | |
5 X509 *cert; | |
6 } t_x509; | |
7 typedef t_x509* p_x509; | |
8 | |
9 void luasec_push_x509(lua_State* L, X509* cert); | |
10 X509* luasec_to_x509(lua_State* L, int idx); | |
11 | |
12 LUASEC_API int luaopen_ssl_x509(lua_State *L); |