-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve code clarity on IsTimeGreaterThanEqual (#17178)
* Improve code clarity on IsTimeGreaterThanEqual Existing code is very hard to validate given the complex boolean expression. Split the logic into clearer steps of comparing year, month, day, hr, min, sec individually. The code change should generally be a NOOP except code clarity. * Update src/crypto/CHIPCryptoPALmbedTLS.cpp Co-authored-by: Evgeny Margolis <[email protected]> Co-authored-by: Evgeny Margolis <[email protected]>
- Loading branch information
Showing
1 changed file
with
22 additions
and
21 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