Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 6656015: Map Mac's CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT error to... (Closed)

Created:
9 years, 9 months ago by wtc
Modified:
5 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Map Mac's CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT error to ERR_CERT_NAME_INVALID instead of ERR_CERT_INVALID so that it can be overriden by the user. R=rsleevi BUG=63988 TEST=net_unittests --gtest_filter=X509CertificateTest.EmptySubject

Patch Set 1 #

Total comments: 3

Patch Set 2 : Run X509CertificateTest.EmptySubject on all platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M net/base/x509_certificate_mac.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/empty_subject_cert.der View Binary file 0 comments Download

Messages

Total messages: 4 (0 generated)
wtc
9 years, 9 months ago (2011-03-10 00:50:29 UTC) #1
Ryan Sleevi
http://codereview.chromium.org/6656015/diff/1/net/base/x509_certificate_mac.cc File net/base/x509_certificate_mac.cc (right): http://codereview.chromium.org/6656015/diff/1/net/base/x509_certificate_mac.cc#newcode81 net/base/x509_certificate_mac.cc:81: case CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT: This error is also returned if the ...
9 years, 9 months ago (2011-03-10 02:30:51 UTC) #2
wtc
rsleevi: thank you for the review. I made your suggested change. Please review Patch Set ...
9 years, 9 months ago (2011-03-11 00:25:11 UTC) #3
Ryan Sleevi
9 years, 9 months ago (2011-03-11 01:03:18 UTC) #4
LGTM. I'm not sure if it's worth mentioning in/updating the comment for
x509_certificate_mac.cc to include the other cases, but that's a very minor nit.

Powered by Google App Engine
This is Rietveld 408576698