Skip to content

Commit

Permalink
bugfix: visitFile should not include unencrypted ones
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiChou committed May 16, 2024
1 parent bab0de9 commit 5c985aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class AppBundleVisitor {
try {
const info = await parseMachO(item);
debug('mach-o info', item, info);
if (info.encryptInfo) {
if (info.encryptInfo.id !== 0) {
yield [scope, item, info];
}
} catch (err) {
Expand Down

0 comments on commit 5c985aa

Please sign in to comment.