diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-04-08 21:37:23 +0200 |
---|---|---|
committer | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2021-04-13 16:29:38 +0300 |
commit | 3d3e6a47b2b38e8660fe5d23c585fa438c5a7af6 (patch) | |
tree | e5e7c18fdcf2b966afb01b644e475cd56d854067 | |
parent | 1c18dfadb0ad236986c4b21aac4edb0ba674ae48 (diff) |
tdf#123747 xmlsecurity, ODF sign roundtrip: preserve invalid reference type
Only add the correct type to new signatures to avoid breaking the hash
of old ones.
Change-Id: I30f892b292f84a0575a3d4ef5ccf3eddbe0090ca
Reviewed-on: https://gerrit.libreoffice.org/70424
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r-- | xmlsecurity/qa/unit/signing/signing.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx index f9cdead4ae7f..25aa13c806f8 100644 --- a/xmlsecurity/qa/unit/signing/signing.cxx +++ b/xmlsecurity/qa/unit/signing/signing.cxx @@ -861,6 +861,7 @@ void SigningTest::testXAdESNotype() "Type", "http://uri.etsi.org/01903#SignedProperties"); } +/// Creates a XAdES signature from scratch. void SigningTest::testXAdES() { // Create an empty document, store it to a tempfile and load it as a storage. |