summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 07:31:20 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 07:31:20 +0000
commit016ab203d8021cd0d7f5584daba46737498c30d9 (patch)
tree008c25a88b040c7dc37f96fa67ce35451559a4e9 /chrome/browser
parentddb9b33b95c5fe0224c92292ea53d8bcd5637a54 (diff)
downloadchromium_src-016ab203d8021cd0d7f5584daba46737498c30d9.zip
chromium_src-016ab203d8021cd0d7f5584daba46737498c30d9.tar.gz
chromium_src-016ab203d8021cd0d7f5584daba46737498c30d9.tar.bz2
Parse individual X.509 name components on Windows, rather than parsing the stringified form
On Windows, rather than converting the entire certificate name to a string and attempting to parse out the components and values, iterate through the relativeDistinguishedName and AttributeTypeAndValue pairs to extract each name component. This is to ensure that: 1) When multiple AVAs are present in an RDN, ALL AVAs are parsed. 2) When converting an AVA to a string, no extra escaping is applied. This also fixes domainComponent parsing on OS X, so that unittests with a domainComponent can pass. BUG=101009, 102839 TEST=net_unittests:X509CertificateTest has two new regression tests. Additionally, sample a variety of SSL sites and ensure no regressions, paying attention to internationalized domains. Review URL: http://codereview.chromium.org/8608003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
0 files changed, 0 insertions, 0 deletions