src/x509.h

Sun, 12 Dec 2010 22:21:36 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 12 Dec 2010 22:21:36 +0000
changeset 36
96f23601ce7a
parent 14
1927b7b32faf
permissions
-rw-r--r--

context.c: Add crl_check and crl_check_chain verify options

#include <openssl/x509v3.h>
#include <lua.h>

typedef struct t_x509_ {
  X509 *cert;
} t_x509;
typedef t_x509* p_x509;

void luasec_push_x509(lua_State* L, X509* cert);
X509* luasec_to_x509(lua_State* L, int idx);

LUASEC_API int luaopen_ssl_x509(lua_State *L);

mercurial