summaryrefslogtreecommitdiff
path: root/xmlsecurity/util/xsec_xmlsec.component
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-03 19:54:04 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-03 22:49:56 +0100
commit13c6497512c3784507ea5d210e340b9f2605630a (patch)
treed8c682b4afa26bbb41c255e9033e5e42060635e5 /xmlsecurity/util/xsec_xmlsec.component
parent9f33f046f0d0d491dec305c8e7efa2ccadb64bff (diff)
Split xmlsecurity components based on the config
One non-obvious hunk is the dependency of GPG based on NSS. While it doesn't need NSS per-se, the signature validation code uses NSS functions. This is mainly an improvement / has the same origin then commit 1c6382b2564fbf19f8ee99e11021dff2ce19ed6f ("xmlsec: handle missing EqualDistinguishedNames"). Change-Id: I12416139e1e391822d878c61b4ed06f3a409c334 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127913 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'xmlsecurity/util/xsec_xmlsec.component')
-rw-r--r--xmlsecurity/util/xsec_xmlsec.component6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmlsecurity/util/xsec_xmlsec.component b/xmlsecurity/util/xsec_xmlsec.component
index d219dc6f9d71..f2b072949a98 100644
--- a/xmlsecurity/util/xsec_xmlsec.component
+++ b/xmlsecurity/util/xsec_xmlsec.component
@@ -22,18 +22,22 @@
<implementation name="com.sun.star.xml.crypto.NSSInitializer"
constructor="com_sun_star_xml_crypto_NSSInitializer_get_implementation">
<service name="com.sun.star.xml.crypto.NSSInitializer"/>
+ <optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.SEInitializer"
constructor="com_sun_star_xml_crypto_SEInitializer_get_implementation">
<service name="com.sun.star.xml.crypto.SEInitializer"/>
+ <optional/>
</implementation>
<implementation name="com.sun.star.xml.security.SEInitializer_Gpg"
constructor="com_sun_star_xml_security_SEInitializer_Gpg_get_implementation">
<service name="com.sun.star.xml.crypto.GPGSEInitializer"/>
+ <optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.SecurityEnvironment"
constructor="com_sun_star_xml_crypto_SecurityEnvironment_get_implementation">
<service name="com.sun.star.xml.crypto.SecurityEnvironment"/>
+ <optional/>
</implementation>
<implementation name="com.sun.star.xml.wrapper.XMLDocumentWrapper"
constructor="com_sun_star_xml_wrapper_XMLDocumentWrapper_get_implementation">
@@ -46,9 +50,11 @@
<implementation name="com.sun.star.xml.crypto.XMLSecurityContext"
constructor="com_sun_star_xml_crypto_XMLSecurityContext_get_implementation">
<service name="com.sun.star.xml.crypto.XMLSecurityContext"/>
+ <optional/>
</implementation>
<implementation name="com.sun.star.xml.crypto.XMLSignature"
constructor="com_sun_star_xml_crypto_XMLSignature_get_implementation">
<service name="com.sun.star.xml.crypto.XMLSignature"/>
+ <optional/>
</implementation>
</component>