24 #define LUASEC_VERIFY_FLAGS_ALWAYS_CONTINUE 0x0001 |
24 #define LUASEC_VERIFY_FLAGS_ALWAYS_CONTINUE 0x0001 |
25 #define LUASEC_VERIFY_FLAGS_IGNORE_PURPOSE 0x0002 |
25 #define LUASEC_VERIFY_FLAGS_IGNORE_PURPOSE 0x0002 |
26 |
26 |
27 typedef struct t_context_ { |
27 typedef struct t_context_ { |
28 SSL_CTX *context; |
28 SSL_CTX *context; |
|
29 lua_State *L; |
29 unsigned int verify_flags; |
30 unsigned int verify_flags; |
30 char mode; |
31 char mode; |
31 } t_context; |
32 } t_context; |
32 typedef t_context* p_context; |
33 typedef t_context* p_context; |
33 |
34 |