-
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.
Turned On Wconversion for ASN1 Library and Coding Style Updates. (#9711)
* Turned On Wconversion for ASN1 Library and Coding Style Updates. -- Turned on -Wconversion in src/lib/asn1/BUILD.gn -- Added required SafeCast checks. -- Update code to support only short (uint8_t) ASN1 Tags. -- Updated ASN1 library conding style to use ReturnErrorCodeIf() VerifyOrReturnError() macros. -- Other minor updates. * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> * Addressed review comments. * Update src/lib/asn1/ASN1Writer.cpp Co-authored-by: Boris Zbarsky <[email protected]> * Returned (ValueLen > sizeof(int64_t)) check in the ASN1Reader::GetInteger() method Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
1 parent
17d85c2
commit 8e86c9e
Showing
9 changed files
with
166 additions
and
196 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
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.