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

Issue 2189613003: Stop calling SSL_get_session in SSLClientSocketImpl. (Closed)

Created:
4 years, 4 months ago by davidben
Modified:
4 years, 4 months ago
Reviewers:
svaldez
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop calling SSL_get_session in SSLClientSocketImpl. In TLS 1.3, sessions are post-handshake, so they must only come in the callback. This change is a no-op in TLS 1.2. Also update the key_exchange_info to use the new SSL-based APIs. Otherwise calling GetSSLInfo during a renegotiation may have problems. The SSL-based APIs internally also have the same problem, but we can fix that while we can't change SSL_get_session's behavior. BUG=630149 Committed: https://crrev.com/c269cc4baed868b167ad45838b4cc1ea6492b866 Cr-Commit-Position: refs/heads/master@{#408125}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -20 lines) Patch
M net/socket/ssl_client_socket_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 4 chunks +11 lines, -16 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
davidben
4 years, 4 months ago (2016-07-27 14:07:21 UTC) #4
svaldez
Update CL description for kex change.
4 years, 4 months ago (2016-07-27 14:09:31 UTC) #5
davidben
On 2016/07/27 14:09:31, svaldez wrote: > Update CL description for kex change. Done.
4 years, 4 months ago (2016-07-27 14:11:41 UTC) #7
chromium-reviews
+1 On Wed, Jul 27, 2016, 10:11 AM <davidben@chromium.org> wrote: > On 2016/07/27 14:09:31, svaldez ...
4 years, 4 months ago (2016-07-27 14:14:49 UTC) #8
svaldez
lgtm
4 years, 4 months ago (2016-07-27 14:15:50 UTC) #9
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/2189613003/1
4 years, 4 months ago (2016-07-27 14:16:19 UTC) #12
chromium-reviews
lgtm On Wed, Jul 27, 2016 at 10:15 AM <svaldez@chromium.org> wrote: > lgtm > > ...
4 years, 4 months ago (2016-07-27 14:16:25 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-27 14:55:18 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 14:56:59 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c269cc4baed868b167ad45838b4cc1ea6492b866
Cr-Commit-Position: refs/heads/master@{#408125}

Powered by Google App Engine
This is Rietveld 408576698