Skip to content
Snippets Groups Projects
Commit f35e07ff authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment