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

Issue 1013193004: Remove dead code in client auth logic. (Closed)

Created:
5 years, 9 months ago by davidben
Modified:
5 years, 9 months ago
Reviewers:
Ryan Sleevi
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

Remove dead code in client auth logic. Both socket implementations have client auth logic to remove a session from the session cache in case of client auth. In both cases, this doesn't do anything. The OpenSSL one was copied from the NSS one. It was always dead code and became a no-op when we stopped using the internal session cache (see https://crbug.com/466352). The NSS one dates to http://codereview.chromium.org/276037. At that time, we returned SECFailure rather than SECWouldBlock, so the handshake would continue and potentially poison the session cache. As of http://codereview.chromium.org/669198, this was no longer an issue. BUG=none Committed: https://crrev.com/8114f805d2c7ac5692bbf8c854146196cffed11c Cr-Commit-Position: refs/heads/master@{#322178}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -29 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 2 chunks +4 lines, -21 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
davidben
5 years, 9 months ago (2015-03-17 22:26:44 UTC) #2
Ryan Sleevi
Can you link to more details about why it's unnecessary for the OpenSSl case? The ...
5 years, 9 months ago (2015-03-19 03:17:02 UTC) #3
davidben
On 2015/03/19 03:17:02, Ryan Sleevi wrote: > Can you link to more details about why ...
5 years, 9 months ago (2015-03-19 04:08:58 UTC) #4
Ryan Sleevi
lgtm
5 years, 9 months ago (2015-03-24 23:06:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1013193004/1
5 years, 9 months ago (2015-03-24 23:54:18 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/1113)
5 years, 9 months ago (2015-03-25 02:59:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1013193004/1
5 years, 9 months ago (2015-03-25 15:23:03 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-25 17:02:44 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 17:03:33 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8114f805d2c7ac5692bbf8c854146196cffed11c
Cr-Commit-Position: refs/heads/master@{#322178}

Powered by Google App Engine
This is Rietveld 408576698