|
|
Created:
3 years, 8 months ago by mattm Modified:
3 years, 8 months ago Reviewers:
davidben CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, Eran Messeri, net-reviews_chromium.org, martijn+crwatch_martijnc.be, xunjieli Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionConvert android to use X509CertificateBytes instead of X509CertificateOpenSSL.
BUG=671420
Review-Url: https://codereview.chromium.org/2786173003
Cr-Commit-Position: refs/heads/master@{#464262}
Committed: https://chromium.googlesource.com/chromium/src/+/0704d236ee706ffb29fc22fd90f99537e7f15673
Patch Set 1 #Patch Set 2 : deps? #Patch Set 3 : deps are hard, let's go shopping #Patch Set 4 : X509_parse_from_buffer #Patch Set 5 : rebase #Patch Set 6 : rebase #Patch Set 7 : rebase #
Total comments: 2
Patch Set 8 : rebase #Patch Set 9 : ssl_server_socket_impl.cc simplifications #
Messages
Total messages: 43 (35 generated)
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...)
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== *WIP* android X509CertificateBytes BUG=671420 ========== to ========== Convert android to use X509CertificateBytes instead of X509CertificateOpenSSL. BUG=671420 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...)
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
mattm@chromium.org changed reviewers: + davidben@chromium.org
Hi David, If you have time, would you like to look at this to see if this is all good for getting the important memory savings on android, or if there are any other places it's worth special casing USE_BYTE_CERTS? (I didn't want to go too crazy with spreading around ifdefs for that.) If you don't have time, feel free to punt the review. ssl_client_socket_impl.cc was already changed in the parent cl: https://codereview.chromium.org/2746103003/diff/420001/net/socket/ssl_client_...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
lgtm, though the CQ currently doesn't like you. (Wow, I'm impressed the CL is so small.) https://codereview.chromium.org/2786173003/diff/120001/net/socket/ssl_server_... File net/socket/ssl_server_socket_impl.cc (right): https://codereview.chromium.org/2786173003/diff/120001/net/socket/ssl_server_... net/socket/ssl_server_socket_impl.cc:667: #endif // USE_OPENSSL_CERTS && !USE_BYTE_CERTS You can simplify this a bit and SSL_CTX_use_certificate_ASN1. (Hrm, we might want to attach the CRYPTO_BUFFER_POOL to this SSL_CTX. But it doesn't really matter because this is just used in tests.)
The CQ bit was checked by mattm@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2786173003/diff/120001/net/socket/ssl_server_... File net/socket/ssl_server_socket_impl.cc (right): https://codereview.chromium.org/2786173003/diff/120001/net/socket/ssl_server_... net/socket/ssl_server_socket_impl.cc:667: #endif // USE_OPENSSL_CERTS && !USE_BYTE_CERTS On 2017/04/11 23:42:45, davidben wrote: > You can simplify this a bit and SSL_CTX_use_certificate_ASN1. (Hrm, we might > want to attach the CRYPTO_BUFFER_POOL to this SSL_CTX. But it doesn't really > matter because this is just used in tests.) Updated. Mind taking another look?
lgtm
+xunjieli FYI. This is the other half of the CRYPTO_BUFFER work on Android as far as memory usage goes.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by mattm@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1492047972733130, "parent_rev": "26a99a8103c789a5af8858263bded1cc60d7cb19", "commit_rev": "0704d236ee706ffb29fc22fd90f99537e7f15673"}
Message was sent while issue was closed.
Description was changed from ========== Convert android to use X509CertificateBytes instead of X509CertificateOpenSSL. BUG=671420 ========== to ========== Convert android to use X509CertificateBytes instead of X509CertificateOpenSSL. BUG=671420 Review-Url: https://codereview.chromium.org/2786173003 Cr-Commit-Position: refs/heads/master@{#464262} Committed: https://chromium.googlesource.com/chromium/src/+/0704d236ee706ffb29fc22fd90f9... ==========
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/0704d236ee706ffb29fc22fd90f9...
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/2817053003/ by nednguyen@google.com. The reason for reverting is: Suspect causing ERR_SSL_SERVER_CERT_BAD_FORMAT error on perf tests.. |