diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-11-01 21:46:43 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-02 21:10:50 +0100 |
commit | b8ae4bcd5c642a29202529fc6bf4c3a91a713230 (patch) | |
tree | 04e3e6ce1d6487be243f6d9907cfbe900b5b707b /sw/source/core/txtnode/atrftn.cxx | |
parent | tdf#145361 fix XSLT for older libxslt (diff) | |
download | core-b8ae4bcd5c642a29202529fc6bf4c3a91a713230.tar.gz core-b8ae4bcd5c642a29202529fc6bf4c3a91a713230.zip |
xmlsec: fix OOXML signing with multiple certs, extend the test
Signing OOXML with 3 or more times didn't work as other ids
("idPackageObject", "idOfficeObject", ...) were not uniqe. This
change makes those ids unique by appending the signature id. The
signature ID is now generated for OOXML too, while previously it
was a hardcoded string ("idPackageSignature").
The test for signing multiple OOXML was written before, but didn't
catch the issues because it didn't assert the status of the
document after loading it again. This is which is now fixed (and
also added changed for the ODF test case).
Change-Id: Ifa20ea17498b117a4c57f6eddf82f8e83bc640bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124571
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 5a7030f5cea26019aa8ff921f6035cfa0e3f93db)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124480
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/source/core/txtnode/atrftn.cxx')
0 files changed, 0 insertions, 0 deletions