summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-11-11 17:45:03 +0800
committerfengweihao <[email protected]>2019-11-11 17:45:03 +0800
commit900b73f8750c3c4b233df0fb327d36d4c64977f1 (patch)
treeb768a65f679e33aa6762a5d9b8cece5debcfd48f /program/include
parent88ec8b2b242c68270a75db9fbf3b1f4f7fb0bc93 (diff)
* 临时提交,支持是否发送根证书的开关
Diffstat (limited to 'program/include')
-rw-r--r--program/include/cert_conf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/cert_conf.h b/program/include/cert_conf.h
index c6afee8..d56d77b 100644
--- a/program/include/cert_conf.h
+++ b/program/include/cert_conf.h
@@ -22,7 +22,7 @@
#define CT_ARRARY_LEN (CT_PATH_MAX/2)
#define CT_STRING_MAX 1024
-struct request_t{
+struct tfe_http_request{
#define DATALEN 128
int thread_id;
int is_valid;
@@ -38,11 +38,12 @@ struct pxy_obj_keyring{
int keyring_id;
uint64_t expire_time;
EVP_PKEY *key;
- X509 *root;
+ X509 *issuer;
char keyring_type[CT_ARRARY_LEN];
char public_algo[CT_STRING_MAX];
char v3_ctl[CT_STRING_MAX];
char finger[EVP_MAX_MD_SIZE];
+ int is_send;
int is_valid;
atomic64_t ref_cnt;
STACK_OF(X509) *stack_ca;