1.添加keyringid未注册情况下,读取本地默认证书mesalab-def-cert签发证书

2.添加valid为不可用,读取keyringid为256不信任证书mesalab-insec签发证书
3.添加证书类型为实体证书,本地签发流程(证书可用优先级 > 证书类型)
4.添加全量增量匹配链表头迁移
This commit is contained in:
fengweihao
2018-09-10 10:01:27 +08:00
parent 2a844d3205
commit e971346db2
12 changed files with 293 additions and 193 deletions

View File

@@ -18,13 +18,12 @@
#include "MESA_htable.h"
struct request_t{
#define DATALEN 64
int t_id;
int flag;
X509 *origin;
int kering_id;
char host[DATALEN];
#define DATALEN 128
int thread_id;
char *odata;
X509 *origin;
int keyring_id;
char rkey[DATALEN];
struct evhttp_request *evh_req;
};
@@ -43,25 +42,23 @@ struct pxy_obj_keyring{
struct key_ring_list
{
uint64_t sum_cnt;
MESA_htable_handle htable;
uint64_t sum_cnt;
MESA_htable_handle htable, oldhtable;
};
struct _initer_addr_t{
uint16_t e_port; /* libevent prot*/
uint16_t r_port; /* redis port*/
char r_ip[16]; /* redis ip */
};
struct config_bucket_t{
unsigned int thread_nu;
unsigned int days;
unsigned int expire_after;
char info_path[128];
char pxy_path[128];
uint16_t e_port; /* libevent prot*/
char r_ip[16]; /* redis ip */
uint16_t r_port; /* redis port*/
char def_path[128];
struct _initer_addr_t addr_t;
struct key_ring_list keyring;
};