根据整理后的发行版本目录,调整默认配置文件的路径
This commit is contained in:
@@ -570,7 +570,7 @@ struct ssl_mgr * ssl_manager_init(const char * ini_profile, const char * section
|
||||
"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem");
|
||||
|
||||
MESA_load_profile_string_def(ini_profile, section, "trusted_cert_dir", mgr->trusted_cert_dir, sizeof(mgr->trusted_cert_dir),
|
||||
"./conf/trusted_storage");
|
||||
"./resource/tfe/trusted_storage");
|
||||
MESA_load_profile_uint_def(ini_profile, section, "check_cert_crl", &(mgr->cert_verify_param.check_crl), 0);
|
||||
|
||||
mgr->trust_CA_store = ssl_trusted_cert_storage_create(mgr->trusted_cert_file, mgr->trusted_cert_dir, &(mgr->cert_verify_param));
|
||||
@@ -597,9 +597,6 @@ struct ssl_mgr * ssl_manager_init(const char * ini_profile, const char * section
|
||||
|
||||
mgr->fs_handle=tfe_proxy_get_fs_handle();
|
||||
ssl_stat_init(mgr);
|
||||
|
||||
|
||||
|
||||
return mgr;
|
||||
|
||||
error_out:
|
||||
|
||||
Reference in New Issue
Block a user