40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
From 1c7033359af10cdc29b5f665884090a113e35f18 Mon Sep 17 00:00:00 2001
|
|
From: John Zimmermann <me@johnnynator.dev>
|
|
Date: Sat, 3 Aug 2024 17:39:20 +0200
|
|
Subject: [PATCH 1/3] System rootca
|
|
|
|
---
|
|
linphone-app/src/app/paths/Paths.cpp | 2 +-
|
|
linphone-app/src/utils/Constants.hpp | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/linphone-app/src/app/paths/Paths.cpp b/linphone-app/src/app/paths/Paths.cpp
|
|
index 47abe5c8..320a2409 100644
|
|
--- a/linphone-app/src/app/paths/Paths.cpp
|
|
+++ b/linphone-app/src/app/paths/Paths.cpp
|
|
@@ -163,7 +163,7 @@ static inline QString getAppFactoryConfigFilePath () {
|
|
}
|
|
|
|
static inline QString getAppRootCaFilePath () {
|
|
- QString rootca = getAppPackageDataDirPath() + Constants::PathRootCa;
|
|
+ QString rootca = Constants::PathRootCa;
|
|
if(Paths::filePathExists(rootca.toStdString())){// Packaged
|
|
return rootca;
|
|
}
|
|
diff --git a/linphone-app/src/utils/Constants.hpp b/linphone-app/src/utils/Constants.hpp
|
|
index d955de93..fc033d46 100644
|
|
--- a/linphone-app/src/utils/Constants.hpp
|
|
+++ b/linphone-app/src/utils/Constants.hpp
|
|
@@ -144,7 +144,7 @@ public:
|
|
static constexpr char PathConfig[] = "/linphonerc";
|
|
static constexpr char PathDatabase[] = "/linphone.db";
|
|
static constexpr char PathFactoryConfig[] = "/" EXECUTABLE_NAME "/linphonerc-factory";
|
|
- static constexpr char PathRootCa[] = "/linphone/rootca.pem";
|
|
+ static constexpr char PathRootCa[] = "/etc/ssl/certs.pem";
|
|
static constexpr char PathFriendsList[] = "/friends.db";
|
|
static constexpr char PathLimeDatabase[] = "/x3dh.c25519.sqlite3";
|
|
static constexpr char PathMessageHistoryList[] = "/message-history.db";
|
|
--
|
|
2.46.0
|
|
|