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

Issue 2728303005: Don't use crypto/x509 in SSLClientSocketImpl. (Closed)

Created:
3 years, 9 months ago by davidben
Modified:
3 years, 9 months ago
Reviewers:
mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't use crypto/x509 in SSLClientSocketImpl. This knocks out one of the two major dependencies on crypto/x509 in //net. With this, SSL_SESSIONs in the session cache no longer retain the expensive X509* objects. This is especially exciting on non-Android platforms where net::X509Certificate already did not use X509*. (On Android, net::X509Certificate still needs to be rewritten and, in particular, is retained in the certificate verification cache.) BUG=671420 Review-Url: https://codereview.chromium.org/2728303005 Cr-Commit-Position: refs/heads/master@{#455782} Committed: https://chromium.googlesource.com/chromium/src/+/a35b40c351e773c864301ef0eb075a7eca1a2f2f

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix ios #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -103 lines) Patch
M net/cert/x509_certificate_openssl.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M net/socket/ssl_client_socket_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 2 9 chunks +64 lines, -86 lines 3 comments Download
M net/ssl/ssl_client_session_cache.cc View 1 chunk +2 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (14 generated)
davidben
https://codereview.chromium.org/2728303005/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2728303005/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode313 net/socket/ssl_client_socket_impl.cc:313: SSL_CTX_i_promise_to_verify_certs_after_the_handshake(ssl_ctx_.get()); Yyyyyup. :-) This is a placeholder until the ...
3 years, 9 months ago (2017-03-08 20:06:36 UTC) #10
mattm
lgtm https://codereview.chromium.org/2728303005/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2728303005/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode1629 net/socket/ssl_client_socket_impl.cc:1629: } On 2017/03/08 20:06:36, davidben wrote: > This ...
3 years, 9 months ago (2017-03-09 04:37:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2728303005/40001
3 years, 9 months ago (2017-03-09 17:28:12 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 17:34:36 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a35b40c351e773c864301ef0eb07...

Powered by Google App Engine
This is Rietveld 408576698