-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code cleanup: CHIPCertToX509. (#10931)
-- removed element type check from reader.Next() where it is later checked by reader.Get() -- removed size checks/adjustments around integer reader.Get(). These checks are now performed by the Get() method itself. -- Added new Get(FixedByteSpan<N> & v) method to the TLVReader class. -- handle UTF8 DN attribute as CharSpan instead on ByteSpan. -- Switched to use VerifyOrReturnError() and ReturnErrorOnFailure() macros.
- Loading branch information
Showing
6 changed files
with
158 additions
and
282 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
Oops, something went wrong.