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

Issue 274783002: Implement SSL server socket over OpenSSL. (Closed)

Created:
6 years, 7 months ago by byungchul
Modified:
6 years, 7 months ago
Reviewers:
bulach, wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, gunsch, haavardm
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement SSL server socket over OpenSSL. 1) Mixed ssl_server_socket_nss.cc and ssl_client_socket_openssl.cc. 2) Moved common functions into openssl_util.cc. 3) Enabled SslServerSocketTest when USE_OPENSSL is defined. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271218

Patch Set 1 #

Total comments: 30

Patch Set 2 : Addressing comment on patch set #1 #

Total comments: 26

Patch Set 3 : applying comments of wtc #

Patch Set 4 : fix build files. #

Patch Set 5 : Fix compilation and rebase #

Patch Set 6 : Remove unnecessary comment. #

Total comments: 6

Patch Set 7 : Fix for some comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+908 lines, -228 lines) Patch
M crypto/openssl_util.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A net/socket/openssl_ssl_util.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A net/socket/openssl_ssl_util.cc View 1 2 1 chunk +156 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 2 3 4 12 chunks +17 lines, -163 lines 0 comments Download
M net/socket/ssl_server_socket_nss.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/socket/ssl_server_socket_nss.cc View 1 2 3 4 5 6 7 chunks +16 lines, -20 lines 0 comments Download
A + net/socket/ssl_server_socket_openssl.h View 1 2 5 chunks +31 lines, -31 lines 0 comments Download
M net/socket/ssl_server_socket_openssl.cc View 1 2 3 4 5 6 2 chunks +643 lines, -7 lines 0 comments Download
M net/socket/ssl_server_socket_unittest.cc View 1 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
byungchul
Please review this.
6 years, 7 months ago (2014-05-09 16:35:02 UTC) #1
Ryan Sleevi
Going to ask wtc to take primary review on this. Adding haavard as FYI.
6 years, 7 months ago (2014-05-12 01:17:47 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/274783002/diff/1/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/274783002/diff/1/net/net.gyp#newcode245 net/net.gyp:245: 'socket/openssl_util.h', You also need to update net/BUILD.gn https://codereview.chromium.org/274783002/diff/1/net/socket/openssl_util.cc File ...
6 years, 7 months ago (2014-05-12 01:35:25 UTC) #3
wtc
Byungchul: I will wait for your new patch set that addresses Ryan's review comments. The ...
6 years, 7 months ago (2014-05-12 18:08:55 UTC) #4
byungchul
PTAL https://codereview.chromium.org/274783002/diff/1/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/274783002/diff/1/net/net.gyp#newcode245 net/net.gyp:245: 'socket/openssl_util.h', On 2014/05/12 01:35:25, Ryan Sleevi wrote: > ...
6 years, 7 months ago (2014-05-12 18:25:22 UTC) #5
byungchul
On 2014/05/12 18:08:55, wtc wrote: > Byungchul: I will wait for your new patch set ...
6 years, 7 months ago (2014-05-12 18:51:12 UTC) #6
byungchul
Wan-Teh, PTAL, uploaded new patch set addressing Ryan's comments.
6 years, 7 months ago (2014-05-14 20:35:31 UTC) #7
wtc
Patch set 2 LGTM. Please commit the CL after making the suggested changes. 1. Error ...
6 years, 7 months ago (2014-05-16 03:57:17 UTC) #8
byungchul
https://codereview.chromium.org/274783002/diff/20001/net/socket/ssl_server_socket_nss.cc File net/socket/ssl_server_socket_nss.cc (right): https://codereview.chromium.org/274783002/diff/20001/net/socket/ssl_server_socket_nss.cc#newcode502 net/socket/ssl_server_socket_nss.cc:502: // SSLClientSocketNSS::OnSendComplete() which handles it better. On 2014/05/16 03:57:17, ...
6 years, 7 months ago (2014-05-16 17:49:59 UTC) #9
byungchul
PTAL. Addressing comments needed a bit changes, even in ssl client sockets.
6 years, 7 months ago (2014-05-16 17:56:15 UTC) #10
wtc
Patch set 6 LGTM. https://codereview.chromium.org/274783002/diff/100001/crypto/openssl_util.h File crypto/openssl_util.h (right): https://codereview.chromium.org/274783002/diff/100001/crypto/openssl_util.h#newcode85 crypto/openssl_util.h:85: // before any other OpenSSL ...
6 years, 7 months ago (2014-05-16 19:36:14 UTC) #11
byungchul
https://codereview.chromium.org/274783002/diff/100001/crypto/openssl_util.h File crypto/openssl_util.h (right): https://codereview.chromium.org/274783002/diff/100001/crypto/openssl_util.h#newcode85 crypto/openssl_util.h:85: // before any other OpenSSL functions though it is ...
6 years, 7 months ago (2014-05-16 19:50:32 UTC) #12
byungchul
The CQ bit was checked by byungchul@chromium.org
6 years, 7 months ago (2014-05-16 19:51:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/byungchul@chromium.org/274783002/120001
6 years, 7 months ago (2014-05-16 19:52:23 UTC) #14
byungchul
The CQ bit was checked by byungchul@chromium.org
6 years, 7 months ago (2014-05-16 23:20:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/byungchul@chromium.org/274783002/120001
6 years, 7 months ago (2014-05-16 23:32:53 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-17 16:02:10 UTC) #17
Message was sent while issue was closed.
Change committed as 271218

Powered by Google App Engine
This is Rietveld 408576698