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

Issue 12930: Third time's a charm?... (Closed)

Created:
12 years ago by dank
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Implement SSLInfo() on linux Implement part of x509_certificate on linux Implement ReconnectIgnoringLastError on linux Hoist test case for bad cert down into url_request_unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6495

Patch Set 1 #

Total comments: 30

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 5

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+711 lines, -337 lines) Patch
M base/nss_init.cc View 1 2 3 4 5 6 7 8 1 chunk +47 lines, -2 lines 0 comments Download
M chrome/browser/ssl_uitest.cc View 1 2 3 4 5 6 7 8 27 chunks +85 lines, -131 lines 0 comments Download
D chrome/test/data/ssl/certificates/expired_cert.pem View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/test/data/ssl/certificates/invalid_cert.pem View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/test/data/ssl/certificates/ok_cert.pem View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/test/data/ssl/certificates/root_ca_cert.crt View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -35 lines 0 comments Download
M net/base/ssl_client_socket_nss.h View 1 2 3 4 5 6 7 8 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 16 chunks +155 lines, -41 lines 0 comments Download
M net/base/ssl_test_util.h View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
M net/base/ssl_test_util.cc View 1 2 3 4 5 6 7 8 1 chunk +148 lines, -0 lines 0 comments Download
M net/build/net.vcproj View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/expired_cert.pem View 1 chunk +41 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/invalid_cert.pem View 1 chunk +41 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/ok_cert.pem View 1 chunk +41 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/root_ca_cert.crt View 1 chunk +35 lines, -0 lines 0 comments Download
M net/net.xcodeproj/project.pbxproj View 1 2 3 4 5 6 7 8 6 chunks +11 lines, -5 lines 0 comments Download
M net/net_unittests.scons View 1 2 3 4 5 6 7 8 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 3 chunks +47 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
dank
(resending) We'll need to install certs and make tlslite present on try/build servers for this...
12 years ago (2008-12-04 17:58:13 UTC) #1
Nicolas Sylvain
I added jay to the list of reviewers, because he wrote the initial code.
12 years ago (2008-12-04 18:15:50 UTC) #2
Nicolas Sylvain
I'll let wtc review the linux/ssl stuff, but the cert part looks good. tlslite is ...
12 years ago (2008-12-04 18:26:57 UTC) #3
jcampan
Just some style nits. http://codereview.chromium.org/12930/diff/1/8 File chrome/browser/ssl_uitest.cc (right): http://codereview.chromium.org/12930/diff/1/8#newcode21 Line 21: Remove blank line http://codereview.chromium.org/12930/diff/1/8#newcode49 ...
12 years ago (2008-12-04 19:05:05 UTC) #4
wtc
The Note in your CL description says base/nss_init.cc, which should be net/base/ssl_test_util.cc. One solution is ...
12 years ago (2008-12-04 22:03:33 UTC) #5
dank
This builds on Linux, but can't be tried on the trybots; I'll build it for ...
12 years ago (2008-12-05 03:27:53 UTC) #6
wtc
12 years ago (2008-12-05 22:35:29 UTC) #7
LGTM.  Just a few nits below.  Please go ahead
and check it in after fixing them.

http://codereview.chromium.org/12930/diff/406/280
File chrome/browser/ssl_uitest.cc (right):

http://codereview.chromium.org/12930/diff/406/280#newcode59
Line 59: DISALLOW_COPY_AND_ASSIGN(SSLUITest);
You need to put DISALLOW_COPY_AND_ASSIGN in the private
section, so please add "private:" before this line.

http://codereview.chromium.org/12930/diff/406/280#newcode365
Line 365: scoped_ptr<HTTPSTestServer> https_server(
You don't need to use scoped_ptr and new for this one.
I guess you're going for consistency with the other
unit tests.

http://codereview.chromium.org/12930/diff/406/272
File net/base/ssl_client_socket_nss.cc (right):

http://codereview.chromium.org/12930/diff/406/272#newcode27
Line 27: static SECStatus ownBadCertHandler(void* arg, PRFileDesc* socket) {
I guess we also need to capitalize the function name:
OwnBadCertHandler.  Sorry I missed this before.

http://codereview.chromium.org/12930/diff/406/272#newcode131
Line 131: :
It's better to place the colon (:) on the next line:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Initializer_Lists

http://codereview.chromium.org/12930/diff/406/272#newcode301
Line 301: * Do network I/O between the given buffer and the given socket.
Nit: use C++ style comment // for this block comment.

Powered by Google App Engine
This is Rietveld 408576698