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

Issue 11249: Fix several cert problems on Linux (take 2) (Closed)

Created:
12 years, 1 month ago by dank
Modified:
9 years, 7 months ago
Reviewers:
Avi (use Gerrit), wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

For http://code.google.com/p/chromium/issues/detail?id=4510 Extract some UI SSL test code into new class SSLTestUtil to avoid duplication. Point nss at root certs so test_shell can talk to mail.google.com without warnings. Support ciphers needed to talk to testserver.py. Load temporary testing cert needed to run unit tests. Implement part of GetSSLInfo. Change URL in developer error message to point to chromium.org. Re-enable url_request_unittest.cc, which seems to have been disabled by mistake. Later changesets will implement x509 certificates for nss, finish GetSSLInfo support, and update chrome/browser/ssl_uitest.cc to use SSLTestUtil. Earlier version was committed as r6063, but was rolled back. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6233

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -30 lines) Patch
M base/nss_init.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +47 lines, -2 lines 1 comment Download
M net/base/ssl_client_socket_nss.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M net/base/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +139 lines, -23 lines 0 comments Download
A net/base/ssl_test_util.h View 8 9 10 11 12 13 1 chunk +46 lines, -0 lines 0 comments Download
A net/base/ssl_test_util.cc View 8 9 10 11 12 13 1 chunk +144 lines, -0 lines 0 comments Download
M net/build/net_unittests.vcproj View 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M net/net.xcodeproj/project.pbxproj View 13 6 chunks +11 lines, -5 lines 0 comments Download
M net/net_unittests.scons View 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dank
I haven't really settled on the best way to express LoadTemporaryCert(). It kind of feels ...
12 years, 1 month ago (2008-11-22 00:41:41 UTC) #1
dank
I expect to do a second change later to implement the rest of GetSSLInfo(). The ...
12 years, 1 month ago (2008-11-24 22:59:55 UTC) #2
wtc
Dan, The CL is mostly in good shape. I have a bunch of comments below, ...
12 years ago (2008-11-25 00:57:31 UTC) #3
dank
Whew. I think I addressed all of wtc's comments. (Sorry this took so long - ...
12 years ago (2008-11-26 00:34:29 UTC) #4
wtc
LGTM. After you fix the nits below, please go ahead and check it in. http://codereview.chromium.org/11249/diff/27/265 ...
12 years ago (2008-11-26 01:08:44 UTC) #5
wtc
http://codereview.chromium.org/11249/diff/27/261 File net/base/ssl_test_util.h (right): http://codereview.chromium.org/11249/diff/27/261#newcode43 Line 43: PrivateCERTCertificate *cert_; On 2008/11/26 01:08:44, wtc wrote: > ...
12 years ago (2008-11-26 05:28:54 UTC) #6
dank
WTC already OK'd the previous version, but he's on vacation now. If you don't want ...
12 years ago (2008-11-26 21:30:29 UTC) #7
M-A Ruel
patchset 10 lgtm (assuming wtc reviewed patchset 9) http://codereview.chromium.org/11249/diff/38/286 File base/nss_init.cc (right): http://codereview.chromium.org/11249/diff/38/286#newcode25 Line 25: ...
12 years ago (2008-11-26 21:42:03 UTC) #8
dank
On 2008/11/26 21:42:03, M-A wrote: > Me. Hate. Local. Arrays. Especially. When. Constant. OK, fixed. ...
12 years ago (2008-11-26 22:00:50 UTC) #9
dank
Had to roll this back on Wednesday, I had forgotten to add the new source ...
12 years ago (2008-12-01 21:18:15 UTC) #10
wtc
LGTM. NOTE: please do not check it in without reading my question on chrome/app/chrome_exe.vcproj. http://codereview.chromium.org/11249/diff/1202/1404 ...
12 years ago (2008-12-02 01:13:23 UTC) #11
wtc
12 years ago (2008-12-02 02:10:39 UTC) #12
LGTM.

http://codereview.chromium.org/11249/diff/1209/1417
File base/nss_init.cc (right):

http://codereview.chromium.org/11249/diff/1209/1417#newcode24
Line 24: const char* kModulePath = "libnssckbi.so";
Why can you get rid of the possible_locations array?

Powered by Google App Engine
This is Rietveld 408576698