diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 03:30:11 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 03:30:11 +0000 |
commit | 7d42adb51da3701922be14f49071f5c53da06ee4 (patch) | |
tree | e139a4299012ccc32d4291c6ba64d9e608d12e8f /chrome/third_party | |
parent | d474919578c36db47f9ce3b0c6574a82f931701d (diff) | |
download | chromium_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.cpp | 4 |
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); |