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

Issue 5746003: Defines SSLServerSocket and implements SSLServerSocketNSS (Closed)

Created:
10 years ago by Alpha Left Google
Modified:
9 years, 6 months ago
Reviewers:
agl, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org, Sergey Ulanov, pam+watch_chromium.org
Visibility:
Public.

Description

Defines SSLServerSocket and implements SSLServerSocketNSS Defines a SSLServerSocket interface. Implement this interface using NSS as SSLServerSocketNSS. This is the first version of the code. It disables several functions of NSS like caching, session ticket, reneogotiation, etc. This is implemented to suit the needs of Chromoting. Additional features of this socket will be added when necessary. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70041

Patch Set 1 #

Patch Set 2 : only net code #

Patch Set 3 : add unit test for SSLServerSocket #

Patch Set 4 : remove x509 patch #

Patch Set 5 : fix style #

Total comments: 79

Patch Set 6 : address comments #

Total comments: 36

Patch Set 7 : address comments #

Patch Set 8 : convert cert and key #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1560 lines, -223 lines) Patch
M base/crypto/rsa_private_key.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M net/base/net_log_event_type_list.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/ssl_config_service.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/ssl_config_service.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M net/base/x509_certificate_openssl.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M net/base/x509_certificate_win.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 lines 0 comments Download
A net/socket/nss_ssl_util.h View 1 2 3 4 5 6 1 chunk +36 lines, -0 lines 0 comments Download
A net/socket/nss_ssl_util.cc View 1 2 3 4 5 6 1 chunk +240 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 5 6 7 8 chunks +11 lines, -221 lines 0 comments Download
A net/socket/ssl_server_socket.h View 1 2 3 4 5 6 7 1 chunk +53 lines, -0 lines 0 comments Download
A net/socket/ssl_server_socket_nss.h View 1 2 3 4 5 6 7 1 chunk +133 lines, -0 lines 0 comments Download
A net/socket/ssl_server_socket_nss.cc View 1 2 3 4 5 6 7 1 chunk +671 lines, -0 lines 0 comments Download
A net/socket/ssl_server_socket_unittest.cc View 1 2 3 4 5 6 7 1 chunk +347 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Alpha Left Google
Not ready for review yet since I need to write unit test for this code. ...
10 years ago (2010-12-09 22:30:26 UTC) #1
Alpha Left Google
10 years ago (2010-12-10 01:28:32 UTC) #2
Alpha Left Google
This code is now ready for review.
10 years ago (2010-12-10 23:46:23 UTC) #3
wtc
I added agl as a reviewer.
10 years ago (2010-12-16 03:23:35 UTC) #4
wtc
This is impressive work! I especially like your unit tests. Please address my comments below, ...
10 years ago (2010-12-17 00:16:26 UTC) #5
Alpha Left Google
That's for thorough review. Here's my thoughts on your high level comments. I'll address your ...
10 years ago (2010-12-17 01:02:13 UTC) #6
Alpha Left Google
http://codereview.chromium.org/5746003/diff/10001/net/base/ssl_config_service.h File net/base/ssl_config_service.h (right): http://codereview.chromium.org/5746003/diff/10001/net/base/ssl_config_service.h#newcode34 net/base/ssl_config_service.h:34: bool no_cache_enabled; // Disable caching. On 2010/12/17 00:16:26, wtc ...
10 years ago (2010-12-17 08:30:43 UTC) #7
wtc
hclam: thank you for making my suggested changes quickly. Let me first respond to your ...
10 years ago (2010-12-17 16:38:32 UTC) #8
wtc
LGTM. Please address the comments below before you check this in, especially the comments marked ...
10 years ago (2010-12-17 18:08:04 UTC) #9
agl
LGTM http://codereview.chromium.org/5746003/diff/25001/net/base/ssl_config_service.h File net/base/ssl_config_service.h (right): http://codereview.chromium.org/5746003/diff/25001/net/base/ssl_config_service.h#newcode35 net/base/ssl_config_service.h:35: // TODO(hclam): This option is used to simplify ...
10 years ago (2010-12-17 18:30:50 UTC) #10
Alpha Left Google
wtc: Answering your questions first. http://codereview.chromium.org/5746003/diff/10001/net/base/ssl_config_service.h File net/base/ssl_config_service.h (right): http://codereview.chromium.org/5746003/diff/10001/net/base/ssl_config_service.h#newcode34 net/base/ssl_config_service.h:34: bool no_cache_enabled; // Disable ...
10 years ago (2010-12-17 20:09:57 UTC) #11
Alpha Left Google
Address comments by wtc and agl. http://codereview.chromium.org/5746003/diff/25001/net/socket/nss_ssl_util.h File net/socket/nss_ssl_util.h (right): http://codereview.chromium.org/5746003/diff/25001/net/socket/nss_ssl_util.h#newcode14 net/socket/nss_ssl_util.h:14: #include <nss.h> On ...
10 years ago (2010-12-17 20:31:12 UTC) #12
agl
10 years ago (2010-12-17 20:41:18 UTC) #13
Still LGTM

Powered by Google App Engine
This is Rietveld 408576698