diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-02-19 17:56:21 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-03 12:46:01 +0100 |
commit | 2bfa00e6bf4b2a310a8b8f5060acec85b5f7a3ce (patch) | |
tree | 88dc5948e0a4dce060f6c88b89e3ea70b6023346 /xmlsecurity/inc | |
parent | d2a345e1163616fe3201ef1d6c758e2e819214e0 (diff) |
xmlsecurity: ignore elements in ds:Object that aren't signed
Change-Id: I2e4411f0907b89e7ad6e0185cee8f12b600515e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111253
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/xsecctl.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx index a9f65c3e1a63..4576af6ee635 100644 --- a/xmlsecurity/inc/xsecctl.hxx +++ b/xmlsecurity/inc/xsecctl.hxx @@ -251,6 +251,7 @@ private: /// Sets algorithm from <SignatureMethod Algorithm="...">. void setSignatureMethod(svl::crypto::SignatureMethodAlgorithm eAlgorithmID); void switchGpgSignature(); + bool haveReferenceForId(std::u16string_view rId) const; void addReference( const OUString& ouUri, sal_Int32 nDigestID, |