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

Issue 1871043003: Fixing BoringSSL on iOS (Closed)

Created:
4 years, 8 months ago by svaldez
Modified:
4 years, 8 months ago
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

Fixing BoringSSL on iOS This adds the final changes to cert_verify_proc_ios and various tests in order to prepare for the switchover from NSS to BoringSSL on iOS. BUG=591545 Committed: https://crrev.com/b7f886b3d364497ff0422e9808d8ad04ffcb5c4d Cr-Commit-Position: refs/heads/master@{#386819}

Patch Set 1 #

Patch Set 2 : Base Files #

Patch Set 3 : Reverting extraneous upload. #

Patch Set 4 : Merging in WEAK_KEY check. #

Patch Set 5 : Adding nist-pkits #

Patch Set 6 : Adding simulator fix. #

Total comments: 13

Patch Set 7 : Refactor properties check. #

Total comments: 4

Patch Set 8 : Fixing default string. #

Patch Set 9 : More fixes. #

Patch Set 10 : Using defaults string. #

Patch Set 11 : Adding test to verify DATE_INVALID. #

Patch Set 12 : Adding test roots. #

Patch Set 13 : Rebase. #

Total comments: 7

Patch Set 14 : Use TARGET_IPHONE_SIMULA. #

Patch Set 15 : Fix TARGET_IPHONE_SIMULATOR case. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -20 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +11 lines, -7 lines 0 comments Download
M net/cert/cert_verify_proc_ios.cc View 1 2 3 4 5 6 7 8 9 3 chunks +67 lines, -5 lines 2 comments Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +32 lines, -2 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/boringssl/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
svaldez
These are most of the remaining changes needed for BoringSSL on iOS. The only remaining ...
4 years, 8 months ago (2016-04-08 15:29:06 UTC) #2
Ryan Sleevi
Mostly nits https://codereview.chromium.org/1871043003/diff/100001/net/cert/cert_verify_proc_ios.cc File net/cert/cert_verify_proc_ios.cc (right): https://codereview.chromium.org/1871043003/diff/100001/net/cert/cert_verify_proc_ios.cc#newcode143 net/cert/cert_verify_proc_ios.cc:143: // Ignore the signature algorithm for the ...
4 years, 8 months ago (2016-04-08 20:01:58 UTC) #3
svaldez
https://codereview.chromium.org/1871043003/diff/100001/net/cert/cert_verify_proc_ios.cc File net/cert/cert_verify_proc_ios.cc (right): https://codereview.chromium.org/1871043003/diff/100001/net/cert/cert_verify_proc_ios.cc#newcode143 net/cert/cert_verify_proc_ios.cc:143: // Ignore the signature algorithm for the root (self-signed) ...
4 years, 8 months ago (2016-04-08 20:22:48 UTC) #4
Ryan Sleevi
I think we still only want to give the "count - 1" for the case ...
4 years, 8 months ago (2016-04-08 20:44:21 UTC) #5
svaldez
https://codereview.chromium.org/1871043003/diff/120001/net/cert/cert_verify_proc_ios.cc File net/cert/cert_verify_proc_ios.cc (right): https://codereview.chromium.org/1871043003/diff/120001/net/cert/cert_verify_proc_ios.cc#newcode175 net/cert/cert_verify_proc_ios.cc:175: // certificate chain to differentiate between various verification failures. ...
4 years, 8 months ago (2016-04-08 20:51:38 UTC) #6
svaldez
Actually, it looks like I'm not getting the localized strings yet, looking into whether this ...
4 years, 8 months ago (2016-04-08 21:26:33 UTC) #7
svaldez
I added a DATE_INVALID test to cert_verify_proc_unittest instead so that tests will still fail if ...
4 years, 8 months ago (2016-04-11 14:41:06 UTC) #8
davidben
https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp#newcode268 build/all.gyp:268: '../third_party/boringssl/boringssl_tests.gyp:*', Hrm. Do these not build at all? I ...
4 years, 8 months ago (2016-04-11 21:46:26 UTC) #9
Ryan Sleevi
https://codereview.chromium.org/1871043003/diff/240001/net/cert/cert_verify_proc_ios.cc File net/cert/cert_verify_proc_ios.cc (right): https://codereview.chromium.org/1871043003/diff/240001/net/cert/cert_verify_proc_ios.cc#newcode209 net/cert/cert_verify_proc_ios.cc:209: bundle, weak_string, weak_string, CFSTR("SecCertificate")); Did you find out why ...
4 years, 8 months ago (2016-04-11 22:26:08 UTC) #10
svaldez
https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp#newcode268 build/all.gyp:268: '../third_party/boringssl/boringssl_tests.gyp:*', On 2016/04/11 21:46:26, davidben (OOO 4-4 to 4-11) ...
4 years, 8 months ago (2016-04-12 14:36:31 UTC) #11
davidben
lgtm, but get Ryan's review on the certificate bits. https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/1871043003/diff/240001/build/all.gyp#newcode268 build/all.gyp:268: ...
4 years, 8 months ago (2016-04-12 19:45:47 UTC) #13
Ryan Sleevi
lgtm
4 years, 8 months ago (2016-04-12 19:51:02 UTC) #14
svaldez
Hi, Could you take a look at the build/all.gyp change. This should be the last ...
4 years, 8 months ago (2016-04-12 19:55:32 UTC) #16
Nico
lgtm https://codereview.chromium.org/1871043003/diff/280001/net/cert/cert_verify_proc_ios.cc File net/cert/cert_verify_proc_ios.cc (right): https://codereview.chromium.org/1871043003/diff/280001/net/cert/cert_verify_proc_ios.cc#newcode180 net/cert/cert_verify_proc_ios.cc:180: // localized counterpart, and then compare that with ...
4 years, 8 months ago (2016-04-12 19:58:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1871043003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1871043003/280001
4 years, 8 months ago (2016-04-12 20:00:19 UTC) #19
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 8 months ago (2016-04-12 21:56:15 UTC) #20
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/b7f886b3d364497ff0422e9808d8ad04ffcb5c4d Cr-Commit-Position: refs/heads/master@{#386819}
4 years, 8 months ago (2016-04-12 21:58:53 UTC) #22
Eugene But (OOO till 7-30)
4 years, 8 months ago (2016-04-14 17:49:13 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/1871043003/diff/280001/net/cert/cert_verify_p...
File net/cert/cert_verify_proc_ios.cc (right):

https://codereview.chromium.org/1871043003/diff/280001/net/cert/cert_verify_p...
net/cert/cert_verify_proc_ios.cc:201: CFStringRef date_error =
CFBundleCopyLocalizedString(
This is a memory leak (and everything else returned from
CFBundleCopyLocalizedString.

Powered by Google App Engine
This is Rietveld 408576698