summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2024-06-25 21:00:06 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-06-26 16:28:17 +0200
commit047f8b8e1b7b6eb0f7363ce6e7708118f79e9b88 (patch)
treec59e3e4d2ccf7cc9d0e134de08f819f218a249ea
parentFix mobile build breakage (diff)
downloadonline-fixiosbuildbreakage.tar.gz
online-fixiosbuildbreakage.zip
Fix build breakage on Android fixiosbuildbreakage
Signed-off-by: Andras Timar <andras.timar@collabora.com> Change-Id: I358f74058f0d2bbeb9f0bb1500a9545d1c5ffac6
-rw-r--r--kit/Kit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index c1cf068a0d..6bbfdcdc45 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -1785,6 +1785,7 @@ std::shared_ptr<lok::Document> Document::load(const std::shared_ptr<ChildSession
if (FileUtil::Stat(wopiCertDir).exists())
::setenv("LO_CERTIFICATE_AUTHORITY_PATH", wopiCertDir.c_str(), 1);
+#if !MOBILEAPP
// if ssl client verification was disabled in online for the wopi server,
// and this is a https connection then also exempt that host from ssl host
// verification in 'core'
@@ -1794,6 +1795,7 @@ std::shared_ptr<lok::Document> Document::load(const std::shared_ptr<ChildSession
if (net::parseUri(session->getDocURL(), scheme, host, port) && scheme == "https://")
::setenv("LOK_EXEMPT_VERIFY_HOST", host.c_str(), 1);
}
+#endif
std::string spellOnline = session->getSpellOnline();
if (!_loKitDocument)