summaryrefslogtreecommitdiff
path: root/xmlsecurity/Executable_pdfverify.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-13 10:37:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-13 10:44:23 +0000
commit0f613adbfa44fb92e84e73a3fa7ea050c072944c (patch)
treecd9ea725ace02906144a02c70f402fdc1fe8f881 /xmlsecurity/Executable_pdfverify.mk
parent3461c9d7a2fe7e8196d455ea2d7feb8a684e945e (diff)
xmlsecurity: add initial PDFSignatureHelper
This splits most of the PDF signature code out of the pdfverify executable, and puts it into the xmlsecurity library instead. The PDFSignatureHelper now attempts to verify PDF signatures, and code in sdext / sfx2 also calls it (even if PDF is not a ZIP-based format). Change-Id: I7b8b3ac9c976e4ea4f3796b1cda07c8a2c97bd02 Reviewed-on: https://gerrit.libreoffice.org/29751 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmlsecurity/Executable_pdfverify.mk')
-rw-r--r--xmlsecurity/Executable_pdfverify.mk15
1 files changed, 2 insertions, 13 deletions
diff --git a/xmlsecurity/Executable_pdfverify.mk b/xmlsecurity/Executable_pdfverify.mk
index c62698f1c4f9..bc08d5620dcc 100644
--- a/xmlsecurity/Executable_pdfverify.mk
+++ b/xmlsecurity/Executable_pdfverify.mk
@@ -13,29 +13,18 @@ $(eval $(call gb_Executable_use_sdk_api,pdfverify))
$(eval $(call gb_Executable_set_include,pdfverify,\
$$(INCLUDE) \
+ -I$(SRCDIR)/xmlsecurity/inc \
))
$(eval $(call gb_Executable_use_libraries,pdfverify,\
comphelper \
sal \
tl \
+ xmlsecurity \
))
$(eval $(call gb_Executable_add_exception_objects,pdfverify,\
xmlsecurity/source/pdfio/pdfverify \
))
-ifeq ($(OS)-$(COM),WNT-MSC)
-$(eval $(call gb_Executable_add_defs,pdfverify,\
- -DXMLSEC_CRYPTO_MSCRYPTO \
-))
-else
-$(eval $(call gb_Executable_add_defs,pdfverify,\
- -DXMLSEC_CRYPTO_NSS \
-))
-$(eval $(call gb_Executable_use_externals,pdfverify,\
- nss3 \
-))
-endif
-
# vim:set noet sw=4 ts=4: