-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that signatureMask isn't an empty array (#26)
* Check that signatureMask isn't an empty array If for some reason signatureMask turned out to be an empty array, verify() would always return true and the verification logic could be bypassed. This change ensures that the code throws an exception in the unlikely case that signatureMask is an empty array. * Update digitalassetlinks/src/test/java/com/solana/digitalassetlinks/AndroidAppPackageVerifierUnitTests.java Co-authored-by: sdlaver <103003665+sdlaver@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
24 additions
and
5 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