summaryrefslogtreecommitdiffstats
path: root/chrome/third_party
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-06 03:30:11 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-06 03:30:11 +0000
commit7d42adb51da3701922be14f49071f5c53da06ee4 (patch)
treee139a4299012ccc32d4291c6ba64d9e608d12e8f /chrome/third_party
parentd474919578c36db47f9ce3b0c6574a82f931701d (diff)
downloadchromium_src-7d42adb51da3701922be14f49071f5c53da06ee4.zip
chromium_src-7d42adb51da3701922be14f49071f5c53da06ee4.tar.gz
chromium_src-7d42adb51da3701922be14f49071f5c53da06ee4.tar.bz2
When viewing a certificate on Linux, if the certificate has a CRL Distribution Point extension, display all of the URIs contained, rather than only the first.
BUG=64565 TEST=none Review URL: http://codereview.chromium.org/5372003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/third_party')
-rw-r--r--chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
index 626da92..aca4c87 100644
--- a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
+++ b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp
@@ -774,7 +774,9 @@ std::string ProcessCrlDistPoints(SECItem* extension_data) {
point = *points;
switch (point->distPointType) {
case generalName:
- rv += ProcessGeneralName(arena.get(), point->distPoint.fullName);
+ // generalName is a typo in upstream NSS; fullName is actually a
+ // GeneralNames (SEQUENCE OF GeneralName). See Mozilla Bug #615100.
+ rv += ProcessGeneralNames(arena.get(), point->distPoint.fullName);
break;
case relativeDistinguishedName:
rv += ProcessRDN(&point->distPoint.relativeName);