[Libreoffice-commits] core.git: xmlsecurity/qa

Miklos Vajna vmiklos at collabora.co.uk
Wed Mar 16 14:47:25 UTC 2016


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

New commits:
commit 08dadbd90ec29011dc2367493f49c57d75f1e51b
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

diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 2ee8e33..0090015 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -322,7 +322,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