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

Norbert Thiebaud nthiebaud at gmail.com
Mon Feb 18 15:16:09 PST 2013


 xmlsecurity/source/xmlsec/nss/secerror.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 08ac21ddd96bec9d3992e6411d4e9ba7826ceccd
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Feb 18 04:11:42 2013 -0600

    coverity#705355 coverity#705356 Missing break in switch
    
    Change-Id: I9a0a370eb1279a184a47e15bcefc6ce5e4025aa3
    Reviewed-on: https://gerrit.libreoffice.org/2226
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx
index 2129181..5b82736 100644
--- a/xmlsecurity/source/xmlsec/nss/secerror.cxx
+++ b/xmlsecurity/source/xmlsec/nss/secerror.cxx
@@ -104,6 +104,7 @@ printChainFailure(CERTVerifyLog *log)
                     specificError = "[unknown usage].";
                     break;
                 }
+                break;
             case SEC_ERROR_INADEQUATE_CERT_TYPE:
                 errorFlags = (unsigned long)node->arg;
                 switch (errorFlags)
@@ -131,6 +132,7 @@ printChainFailure(CERTVerifyLog *log)
                     specificError = "[unknown usage].";
                     break;
                 }
+                break;
             case SEC_ERROR_UNKNOWN_ISSUER:
                 specificError = "Unknown issuer:";
                 issuer = node->cert->issuerName;


More information about the Libreoffice-commits mailing list