mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
feat(src/components/core/CoreManager): force zrtp, user certificate, root ca paths.
This commit is contained in:
parent
2fa536419f
commit
ff1be58796
1 changed files with 4 additions and 8 deletions
|
|
@ -103,14 +103,10 @@ void CoreManager::setDatabasesPaths () {
|
|||
}
|
||||
|
||||
void CoreManager::setOtherPaths () {
|
||||
if (mCore->getZrtpSecretsFile().empty())
|
||||
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath());
|
||||
|
||||
if (mCore->getUserCertificatesPath().empty())
|
||||
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
|
||||
|
||||
if (mCore->getRootCa().empty())
|
||||
mCore->setRootCa(Paths::getRootCaFilePath());
|
||||
// Force paths. Ask me why if it's a problem for you.
|
||||
mCore->setZrtpSecretsFile(Paths::getZrtpSecretsFilePath());
|
||||
mCore->setUserCertificatesPath(Paths::getUserCertificatesDirPath());
|
||||
mCore->setRootCa(Paths::getRootCaFilePath());
|
||||
}
|
||||
|
||||
void CoreManager::setResourcesPaths () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue