diff options
author | Thorsten Behrens <Thorsten.Behrens@allotropia.de> | 2021-04-13 13:56:36 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-05-05 13:16:06 +0200 |
commit | 183c07c1861a5951122d36bb0ed78b45bba3f378 (patch) | |
tree | 898ce25cf8da6db87d80bceba4d4e68ce12936c0 | |
parent | 085294d0896332a33b7fb5a9a01af304fdb19c04 (diff) |
Fixup xmlsecurity test
Change-Id: I616867dbf79a85671d04bd31fac5cb592b5beaaf
-rw-r--r-- | xmlsecurity/qa/unit/signing/signing.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx index 8baf646307b5..7b5dbe356146 100644 --- a/xmlsecurity/qa/unit/signing/signing.cxx +++ b/xmlsecurity/qa/unit/signing/signing.cxx @@ -159,11 +159,11 @@ public: CPPUNIT_TEST(testODFUntrustedGoodGPG); CPPUNIT_TEST(testODFBrokenStreamGPG); CPPUNIT_TEST(testODFBrokenDsigGPG); + CPPUNIT_TEST(testPreserveMacroTemplateSignature12); #if HAVE_GPGCONF_SOCKETDIR CPPUNIT_TEST(testODFEncryptedGPG); #endif #endif - CPPUNIT_TEST(testPreserveMacroTemplateSignature12); CPPUNIT_TEST(testDropMacroTemplateSignature); CPPUNIT_TEST(testPreserveMacroTemplateSignature10); CPPUNIT_TEST_SUITE_END(); @@ -954,6 +954,8 @@ void SigningTest::testODFEncryptedGPG() #endif +#endif + SfxObjectShell* SigningTest::assertDocument(const ::CppUnit::SourceLine aSrcLine, const OUString& rFilterName, const SignatureState nDocSign, @@ -1314,8 +1316,6 @@ void SigningTest::testPreserveMacroTemplateSignature10() SignatureState::NOTVALIDATED, OUString()); } -#endif - void SigningTest::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) { xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("odfds"), BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0")); |