summaryrefslogtreecommitdiff
path: root/xmlsecurity/Library_xmlsecurity.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-13 21:07:55 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-14 07:05:52 +0000
commite584bc808b634bf18ba5f7538d598e135b28f090 (patch)
treec92ad645b1b068db924b248084eee98788a27b1e /xmlsecurity/Library_xmlsecurity.mk
parente1118f1b940df9a2504a63823f93b1e609daa97c (diff)
xmlsecurity: extract certificate from PDF signature
So that the UI can show the correct "Signed by" and "Digital ID issued by" fields. Change-Id: Ied2fed480f48baf60cffb4f0ce762a726beab006 Reviewed-on: https://gerrit.libreoffice.org/29776 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/Library_xmlsecurity.mk')
-rw-r--r--xmlsecurity/Library_xmlsecurity.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/Library_xmlsecurity.mk b/xmlsecurity/Library_xmlsecurity.mk
index 77368ab39616..c5e8d68d9483 100644
--- a/xmlsecurity/Library_xmlsecurity.mk
+++ b/xmlsecurity/Library_xmlsecurity.mk
@@ -72,12 +72,14 @@ $(eval $(call gb_Library_add_defs,xmlsecurity,\
-DXMLSEC_CRYPTO_MSCRYPTO \
))
else
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Library_add_defs,xmlsecurity,\
-DXMLSEC_CRYPTO_NSS \
))
$(eval $(call gb_Library_use_externals,xmlsecurity,\
nss3 \
))
+endif # BUILD_TYPE=DESKTOP
endif
# vim: set noet sw=4 ts=4: