summaryrefslogtreecommitdiffstats
path: root/chrome/third_party
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 20:17:44 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 20:17:44 +0000
commite07c417250edebcbc4aeeab65aa496657e682416 (patch)
tree8586844ff0137d7f3505ed96aa1806ae1bff4410 /chrome/third_party
parentc3d2e49758055e0c60ff670ec9260d3df9b41f06 (diff)
downloadchromium_src-e07c417250edebcbc4aeeab65aa496657e682416.zip
chromium_src-e07c417250edebcbc4aeeab65aa496657e682416.tar.gz
chromium_src-e07c417250edebcbc4aeeab65aa496657e682416.tar.bz2
Coverity: fix missing break in GetOIDText, missing commas in ProcessCrlDistPoints output.
CID=11580,8827 BUG=none TEST=none Review URL: http://codereview.chromium.org/3015001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/third_party')
-rw-r--r--chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
index 4ff1558..8c59747 100644
--- a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
+++ b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
@@ -368,6 +368,7 @@ std::string GetOIDText(SECItem* oid) {
break;
case SEC_OID_OCSP_RESPONDER:
string_id = IDS_CERT_EKU_OCSP_SIGNING;
+ break;
case SEC_OID_PKIX_CPS_POINTER_QUALIFIER:
string_id = IDS_CERT_PKIX_CPS_POINTER_QUALIFIER;
break;
@@ -843,6 +844,7 @@ std::string ProcessCrlDistPoints(SECItem* extension_data) {
if (comma)
rv += ',';
rv += l10n_util::GetStringUTF8(reason_string_map[i].string_id);
+ comma = true;
}
}
rv += '\n';