Commit f35e07ff authored by Guillaume Roguez's avatar Guillaume Roguez

security: disable ca_list file

This patch protects a crash due to a non-existant file access.
This files seems not to be checked as ca list is implemented
in another way (recent patch).

Refs #72156

Change-Id: I950af16bf66c8e9f270d4014750dfe0e20edcfe1
parent fe736f78
......@@ -102,7 +102,7 @@ RingAccount::RingAccount(const std::string& accountID, bool /* presenceEnabled *
idPath_ = fileutils::get_data_dir()+DIR_SEPARATOR_STR+getAccountID();
fileutils::check_dir(idPath_.c_str());
caPath_ = idPath_ + DIR_SEPARATOR_STR "certs";
caListPath_ = idPath_ + DIR_SEPARATOR_STR "ca_list.pem";
//DEPRECATED? caListPath_ = idPath_ + DIR_SEPARATOR_STR "ca_list.pem";
}
RingAccount::~RingAccount()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment