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

Issue 1514004: Mac SSL fix: Go back to not enabling break-on-auth when we have a client cert to send. (Closed)

Created:
10 years, 8 months ago by Jens Alfke
Modified:
9 years, 7 months ago
Reviewers:
wtc
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, darin-cc_chromium.org, chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Mac SSL fix: Go back to not enabling break-on-auth when we have a client cert to send. BUG=38905 TEST=None (don't have a way for me to reproduce this yet) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43131

Patch Set 1 #

Total comments: 5

Patch Set 2 : Set cert up-front as well as on demand. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M net/socket/ssl_client_socket_mac.cc View 1 1 chunk +21 lines, -7 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Jens Alfke
It looks like the change to prevent early sending of the client cert, triggered a ...
10 years, 8 months ago (2010-03-29 20:41:13 UTC) #1
wtc
LGTM. The two old SetClientCert() calls should be removed (they're redundant but most likely harmless). ...
10 years, 8 months ago (2010-03-29 23:20:39 UTC) #2
Jens Alfke
http://codereview.chromium.org/1514004/diff/1/2 File net/socket/ssl_client_socket_mac.cc (left): http://codereview.chromium.org/1514004/diff/1/2#oldcode784 net/socket/ssl_client_socket_mac.cc:784: status = EnableBreakOnAuth(true); On 2010/03/29 23:20:40, wtc wrote: > ...
10 years, 8 months ago (2010-03-29 23:48:09 UTC) #3
Jens Alfke
You were right, Wan-Teh: setting the cert up-front while leaving on break-on-auth makes it work ...
10 years, 8 months ago (2010-03-30 18:03:22 UTC) #4
wtc
10 years, 8 months ago (2010-03-30 19:17:52 UTC) #5
LGTM.  I'm glad you found a simple solution.

http://codereview.chromium.org/1514004/diff/6001/7001
File net/socket/ssl_client_socket_mac.cc (right):

http://codereview.chromium.org/1514004/diff/6001/7001#newcode785
net/socket/ssl_client_socket_mac.cc:785: status = SetClientCert();
The other two SetClientCert() calls are now redundant and
should be removed.

http://codereview.chromium.org/1514004/diff/6001/7001#newcode792
net/socket/ssl_client_socket_mac.cc:792: // Only enable session resumption if
break-on-auth is available,
You changed the sense of this sentence (from "is not available"
to "is available", so the following words in subsequent
sentences need to be changed as well:

with break-on-auth => without break-on-auth
in this situation => when break-on-auth is not available

Alternatively, change back to the original comment.

Powered by Google App Engine
This is Rietveld 408576698