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

Issue 1721283002: Implements secure sockets on Mac OS with SecureTransport API (Closed)

Created:
4 years, 10 months ago by zra
Modified:
4 years, 9 months ago
Reviewers:
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

Implements secure sockets on Mac OS with SecureTransport API R=iposva@google.com Committed: https://github.com/dart-lang/sdk/commit/e900b1b94417a4fe46467f80ee6fec118a779c5d

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : fix BUILD.gn and test. #

Patch Set 10 : Merge error handling fixes. Don't allow setting context fields > once. #

Patch Set 11 : Merge, fix typos. #

Patch Set 12 : Cleanup, asserts, comments. #

Patch Set 13 : Cleanups. Add some more asserts. #

Total comments: 6

Patch Set 14 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2328 lines, -1807 lines) Patch
M runtime/bin/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/bin/bin.gypi View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -2 lines 0 comments Download
M runtime/bin/io_impl_sources.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +21 lines, -3 lines 0 comments Download
M runtime/bin/io_natives.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/secure_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -120 lines 0 comments Download
D runtime/bin/secure_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1656 lines 0 comments Download
A + runtime/bin/secure_socket_boringssl.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -5 lines 0 comments Download
A + runtime/bin/secure_socket_boringssl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +13 lines, -0 lines 0 comments Download
A runtime/bin/secure_socket_macos.h View 1 2 3 4 5 6 7 8 9 1 chunk +149 lines, -0 lines 0 comments Download
A runtime/bin/secure_socket_macos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2074 lines, -0 lines 0 comments Download
M runtime/bin/secure_socket_patch.dart View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/bin/secure_socket_unsupported.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 2 3 4 1 chunk +10 lines, -2 lines 0 comments Download
M sdk/lib/io/security_context.dart View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M tests/standalone/io/certificates/client1_key.p12 View 1 2 3 Binary file 0 comments Download
M tests/standalone/io/certificates/client1_key_malformed.pem View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/certificates/client_authority_malformed.pem View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/certificates/server_chain.p12 View 1 2 Binary file 0 comments Download
M tests/standalone/io/certificates/server_chain_malformed1.pem View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/certificates/server_chain_malformed2.pem View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/standalone/io/certificates/server_key.p12 View 1 2 Binary file 0 comments Download
M tests/standalone/io/certificates/trusted_certs.p12 View 1 2 Binary file 0 comments Download
M tests/standalone/io/certificates/trusted_certs_malformed.pem View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M tests/standalone/io/https_bad_certificate_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M tests/standalone/io/secure_bad_certificate_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M tests/standalone/io/secure_builtin_roots_test.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/secure_server_client_certificate_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M tests/standalone/io/secure_socket_alpn_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M tests/standalone/io/secure_socket_test.dart View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M tests/standalone/io/security_context_argument_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
zra
This is ready for review. I can also split this into 4-ish smaller CLs for ...
4 years, 9 months ago (2016-03-04 18:10:51 UTC) #4
zra
On 2016/03/04 18:10:51, zra wrote: > This is ready for review. I can also split ...
4 years, 9 months ago (2016-03-04 23:36:44 UTC) #5
zra
Ivan, I made another pass over the code. The remaining questions I had were whether ...
4 years, 9 months ago (2016-03-21 20:13:34 UTC) #6
Ivan Posva
LGTM with small nits. -Ivan https://codereview.chromium.org/1721283002/diff/240001/runtime/bin/io_impl_sources.gypi File runtime/bin/io_impl_sources.gypi (right): https://codereview.chromium.org/1721283002/diff/240001/runtime/bin/io_impl_sources.gypi#newcode80 runtime/bin/io_impl_sources.gypi:80: 'sources!': [ The '!' ...
4 years, 9 months ago (2016-03-21 20:38:01 UTC) #7
zra
https://codereview.chromium.org/1721283002/diff/240001/runtime/bin/io_impl_sources.gypi File runtime/bin/io_impl_sources.gypi (right): https://codereview.chromium.org/1721283002/diff/240001/runtime/bin/io_impl_sources.gypi#newcode80 runtime/bin/io_impl_sources.gypi:80: 'sources!': [ On 2016/03/21 20:38:01, Ivan Posva wrote: > ...
4 years, 9 months ago (2016-03-21 22:32:59 UTC) #8
zra
4 years, 9 months ago (2016-03-21 22:46:35 UTC) #10
Message was sent while issue was closed.
Committed patchset #14 (id:260001) manually as
e900b1b94417a4fe46467f80ee6fec118a779c5d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698