summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-05-27 13:33:40 +0800
committerfengweihao <[email protected]>2019-05-27 13:33:40 +0800
commit9fd14cb2e16f088e87dc3afaabb11edc98d5e56a (patch)
tree40e669e06fc1781a2de908336de433af784f1f40
parent82840b59d928050ef280474c2f1e6997c34b84b4 (diff)
1.修改certstore库表名
-rw-r--r--conf/pxy_obj_keyring.json2
-rw-r--r--src/cert_session.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/pxy_obj_keyring.json b/conf/pxy_obj_keyring.json
index c9a76a0..56d3470 100644
--- a/conf/pxy_obj_keyring.json
+++ b/conf/pxy_obj_keyring.json
@@ -71,7 +71,7 @@
],
"plugin_table": [
{
- "table_name": "PXY_OBJ_KEYRING",
+ "table_name": "PXY_PROFILE_KEYRING",
"table_content": [
"0\t1\tname_01\troot\t/test/01\t/test/01\t15\trsa2048\tURI:http://www.test.com\t1\t/home/fengweihao/workspace/cert_store/test_data/mesalab-ca-untrust.pem\t/home/fengweihao/workspace/cert_store/test_data/mesalab-ca-untrust.pem",
"1\t1\tname_01\troot\t/test/01\t/test/01\t15\trsa2048\tURI:http://www.test.com\t1\t/home/fengweihao/workspace/cert_store/test_data/mesalab-ca.pem\t/home/fengweihao/workspace/cert_store/test_data/mesalab-ca.pem",
diff --git a/src/cert_session.c b/src/cert_session.c
index 5d7fcab..88b1fe7 100644
--- a/src/cert_session.c
+++ b/src/cert_session.c
@@ -2122,7 +2122,7 @@ int maat_feather_init()
}
rte->feather = feather;
- int table_id = maat_table_ex_init("PXY_OBJ_KEYRING",
+ int table_id = maat_table_ex_init("PXY_PROFILE_KEYRING",
keyring_table_new_cb,
keyring_table_free_cb,
keyring_table_dup_cb);