summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-02-18 04:11:42 -0600
committerMichael Stahl <mstahl@redhat.com>2013-02-18 23:15:49 +0000
commit08ac21ddd96bec9d3992e6411d4e9ba7826ceccd (patch)
treecd1898f744c20e97b1f586b6946961bbb3484b64 /xmlsecurity
parent7ff650a6fe405c98d182c6cabbb46217b56bb0c6 (diff)
coverity#705355 coverity#705356 Missing break in switch
Change-Id: I9a0a370eb1279a184a47e15bcefc6ce5e4025aa3 Reviewed-on: https://gerrit.libreoffice.org/2226 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/nss/secerror.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/secerror.cxx b/xmlsecurity/source/xmlsec/nss/secerror.cxx
index 212918157bc2..5b827363257f 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;