-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[io/ssl/mac] Retain certificates used by trust certification evaluation.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/174340, which moved construction of macos certificate list from boringssl structures from worker thread back to main thread, however it seems to have resulted in certificates in certificate list being prematurely released. This cl explicitly passes/retains certificates lists to worker thread to be released after certificate trust is evaluated. Avoid using deprecated SecTrustEvaluate if running on recent versions of OS. Fixes flutter/flutter#73971 TEST=flutter/examples/image_list on mac osx 10.13.6 simulator 10.3.1 Change-Id: I36829a9b236fab2bbbe952314ce277c436ea0e10 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/183620 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Siva Annamalai <[email protected]>
- Loading branch information
1 parent
d0725fe
commit 937a716
Showing
1 changed file
with
45 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters