Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jan 16, 2025
1 parent e6ca02c commit 9c4b9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Apkv3.pm
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ sub verifydatasection {
my $ctx;
$ctx = Digest::SHA->new(256) if length($file->{'hash'}) == 32;
$ctx = Digest::SHA->new(512) if length($file->{'hash'}) == 64;
die("unsupported file hashn") unless $file->{'hash'};
die("unsupported file hash\n") unless $ctx;
my ($datatype, $datasize, $datapad) = read_blk_header($fd);
die("missing data block\n") unless $datatype == 2;
die("data size mismatch\n") unless $datasize == 8 + $file->{'size'};
Expand Down

0 comments on commit 9c4b9c6

Please sign in to comment.