From 3d3e6a47b2b38e8660fe5d23c585fa438c5a7af6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 8 Apr 2019 21:37:23 +0200 Subject: 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 --- xmlsecurity/qa/unit/signing/signing.cxx | 1 + 1 file changed, 1 insertion(+) 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. -- cgit