From f35e07ffebe9d03a79b1fd47670454bb69b134b7 Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Thu, 30 Apr 2015 13:39:36 -0400
Subject: [PATCH] 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
---
 src/ringdht/ringaccount.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp
index f4b7a15cc0..4bb7055442 100644
--- a/src/ringdht/ringaccount.cpp
+++ b/src/ringdht/ringaccount.cpp
@@ -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()
-- 
GitLab