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
This commit is contained in:
Guillaume Roguez
2015-04-30 13:39:36 -04:00
parent fe736f7888
commit f35e07ffeb

View File

@ -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()