-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide better certificate verification callback (#171)
Motivation: We've exposed the OpenSSL certificate verify callback for a while now. Unfortunately, this callback is fairly hostile to callers, as it is called repeatedly through the certificate verification process, instead of presenting the unified certificate chain to the user. BoringSSL has a better verification callback available that we use internally, but that is not exposed to users. It would be nice to give users the better API. Modifications: - Expose the BoringSSL verification callback to users. - Re-plumb the Security.framework verification to use our public API. Result: Easier certificate chain verification overrides.
- Loading branch information
Showing
10 changed files
with
589 additions
and
131 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
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
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
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
Oops, something went wrong.