[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - xmlsecurity/qa

Miklos Vajna vmiklos at collabora.co.uk
Mon Sep 5 07:37:44 UTC 2016


 xmlsecurity/qa/unit/signing/signing.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8de74c65f2079e3d6b3fddab4034e39bcc3f1807
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Mar 16 15:13:51 2016 +0100

    CppunitTest_xmlsecurity_signing: fix typo in testODFBroken()
    
    On a system where the certificate can be validated, the expected result
    is OK, not PARTIAL_OK (copy&paste problem from OOXML).
    
    Change-Id: I1b52921498de24c9a14a780bf48b791ec1e0c706
    (cherry picked from commit 08dadbd90ec29011dc2367493f49c57d75f1e51b)

diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index d037eb9..4e24e18 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -320,7 +320,7 @@ void SigningTest::testODFGood()
              static_cast<std::underlying_type<SignatureState>::type>(nActual))
          .getStr()),
         (nActual == SignatureState::NOTVALIDATED
-         || nActual == SignatureState::PARTIAL_OK));
+         || nActual == SignatureState::OK));
 }
 
 void SigningTest::testODFBroken()


More information about the Libreoffice-commits mailing list