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

Issue 1761583002: Regularize some errors thrown by SecureContext. (Closed)

Created:
4 years, 9 months ago by zra
Modified:
4 years, 9 months ago
Reviewers:
Bill Hesse, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Regularize some errors thrown by SecureContext. This is done by replacing a call to SSL_CTX_set_client_CA_list() with calls to SSL_CTX_add_client_CA(), preserving the diagnostic status return value discarded by the former. R=iposva@google.com, whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/f6ddb4568f81503329c28afdcbd232e78c4764f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -146 lines) Patch
M runtime/bin/secure_socket.cc View 1 2 9 chunks +80 lines, -142 lines 0 comments Download
M tests/standalone/io/security_context_argument_test.dart View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
zra
4 years, 9 months ago (2016-03-02 20:58:39 UTC) #3
Ivan Posva
-Ivan https://codereview.chromium.org/1761583002/diff/1/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/1761583002/diff/1/runtime/bin/secure_socket.cc#newcode966 runtime/bin/secure_socket.cc:966: if (TryPKCS12(status != 0)) { Can we please ...
4 years, 9 months ago (2016-03-02 21:56:50 UTC) #4
zra
https://codereview.chromium.org/1761583002/diff/1/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/1761583002/diff/1/runtime/bin/secure_socket.cc#newcode966 runtime/bin/secure_socket.cc:966: if (TryPKCS12(status != 0)) { On 2016/03/02 21:56:50, Ivan ...
4 years, 9 months ago (2016-03-02 23:12:34 UTC) #5
Ivan Posva
-Ivan https://codereview.chromium.org/1761583002/diff/20001/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/1761583002/diff/20001/runtime/bin/secure_socket.cc#newcode740 runtime/bin/secure_socket.cc:740: if ((status == 0) && TryPKCS12()) { This ...
4 years, 9 months ago (2016-03-02 23:22:15 UTC) #6
zra
https://codereview.chromium.org/1761583002/diff/20001/runtime/bin/secure_socket.cc File runtime/bin/secure_socket.cc (right): https://codereview.chromium.org/1761583002/diff/20001/runtime/bin/secure_socket.cc#newcode740 runtime/bin/secure_socket.cc:740: if ((status == 0) && TryPKCS12()) { On 2016/03/02 ...
4 years, 9 months ago (2016-03-03 00:06:24 UTC) #7
Ivan Posva
LGTM from my side. Maybe wait for Bill's assessment too? Thanks, -Ivan
4 years, 9 months ago (2016-03-03 00:19:46 UTC) #8
zra
@whesse did you have any comments? Thanks!
4 years, 9 months ago (2016-03-04 15:44:46 UTC) #9
Bill Hesse
lgtm Lgtm. I think you could combine the two if statements around line 620, if ...
4 years, 9 months ago (2016-03-04 15:51:50 UTC) #10
zra
Committed patchset #3 (id:40001) manually as f6ddb4568f81503329c28afdcbd232e78c4764f3 (presubmit successful).
4 years, 9 months ago (2016-03-04 17:02:24 UTC) #12
zra
4 years, 9 months ago (2016-03-04 17:03:41 UTC) #13
Message was sent while issue was closed.
On 2016/03/04 15:51:50, Bill Hesse wrote:
> Lgtm. I think you could combine the two if statements around line 620, if the
> comment goes before then.

Thanks. I left it as-is to be consistent with the similar code in other places.

Powered by Google App Engine
This is Rietveld 408576698