Commit ff1be587 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/components/core/CoreManager): force zrtp, user certificate, root ca paths.

parent 2fa53641
...@@ -103,14 +103,10 @@ void CoreManager::setDatabasesPaths () { ...@@ -103,14 +103,10 @@ void CoreManager::setDatabasesPaths () {
} }
void CoreManager::setOtherPaths () { void CoreManager::setOtherPaths () {
if (mCore->getZrtpSecretsFile().empty()) // Force paths. Ask me why if it's a problem for you.
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath()); mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath());
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
if (mCore->getUserCertificatesPath().empty()) mCore->setRootCa(Paths::getRootCaFilePath());
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
if (mCore->getRootCa().empty())
mCore->setRootCa(Paths::getRootCaFilePath());
} }
void CoreManager::setResourcesPaths () { void CoreManager::setResourcesPaths () {
......
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