Skip to content

Commit

Permalink
xmlsecurity: ignore elements in ds:Object that aren't signed
Browse files Browse the repository at this point in the history
Change-Id: I2e4411f0907b89e7ad6e0185cee8f12b600515e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111253
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 2bfa00e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111900
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
  • Loading branch information
mistmist authored and Caolán McNamara committed Mar 4, 2021
1 parent 89befef commit b776cf1
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 90 deletions.
1 change: 1 addition & 0 deletions xmlsecurity/inc/xsecctl.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit b776cf1

Please sign in to comment.