summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2020-09-30 17:14:59 +0300
committerAndras Timar <andras.timar@collabora.com>2020-10-02 22:53:49 +0200
commitda24149ac681555430271f264095e2d8807c55cf (patch)
treef14ed151d4d84b570160c23a87fffc7385898cc2 /xmlsecurity
parentf1d6eb20ef0acb9c982c7d89e798cd77901283e8 (diff)
Fix libnssckbi not found error on Android
This error causes Android App to be unable to open Password-protected documents. Change-Id: Iacbacb1c780025752e2447db325b075c58947818 Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103708 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/nssinitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
index 8c71ed12b67d..d5f95d096e91 100644
--- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
@@ -353,7 +353,7 @@ bool nsscrypto_initialize(css::uno::Reference<css::uno::XComponentContext> const
if (true)
#else
-#if defined SYSTEM_NSS
+#if defined SYSTEM_NSS || defined ANDROID
OUString rootModule("libnssckbi" SAL_DLLEXTENSION);
#else
OUString rootModule("${LO_LIB_DIR}/libnssckbi" SAL_DLLEXTENSION);