summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@allotropia.de>2021-04-13 13:56:36 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-04-13 14:21:09 +0200
commit499a9a2648cd96a15fbcb2e1941eee53e6af15cb (patch)
tree9d375766405f6b3696db276a56be0ea1772ab877
parent8aaa18a8ae094c34009a8f746a4297b328873a90 (diff)
Fixup xmlsecurity test
Change-Id: I616867dbf79a85671d04bd31fac5cb592b5beaaf
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 6b71bb5b7990..aa793daaec32 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -160,11 +160,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(testPreserveMacroSignatureODB);
@@ -1001,6 +1001,8 @@ void SigningTest::testODFEncryptedGPG()
#endif
+#endif
+
SfxObjectShell* SigningTest::assertDocument(const ::CppUnit::SourceLine aSrcLine,
const OUString& rFilterName,
const SignatureState nDocSign,
@@ -1361,8 +1363,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"));