-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify and document X509_supported_extension
It doesn't make sense to binary search over a list of 10 entries. Additionally, the compiler is perfectly capable of optimizing a bunch of equality checks (e.g. by turning it into a bitmask), so just let the compiler do what it wants. Change-Id: Ie7cee62d1ddec1ac1e24f483817b9a67aaff369c Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/64250 Commit-Queue: David Benjamin <[email protected]> Reviewed-by: Bob Beck <[email protected]> (cherry picked from commit 7ff31d3ecf1343eff108e54f5b4448461412f876)
- Loading branch information
1 parent
2e04897
commit 2fe70b5
Showing
2 changed files
with
20 additions
and
36 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