-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SNTPolicyProcessor to use a map (#1304)
* Update SNTPolicyProcessor to use a map instead of a giant switch statement Update SNTPolicyProcessor to use a map instead of a giant switch statement. Add unit tests for the method that sets SNTCachedDecision values. * Remove unneccessary OCMock dep in BUILD file. * Fix typo in method signature. * Incorporate review feedback. * Upper case UpdateCachedDecisionSigningInfo * Update SNTPolicyProcessor.h Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com> * Update SNTPolicyProcessor.mm Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com> * Fix typo * Fix linter issues. * Fixed up more linter issues. --------- Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com>
- Loading branch information
1 parent
7e4af5e
commit 6cca5ab
Showing
4 changed files
with
718 additions
and
142 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
Oops, something went wrong.