Skip to content

Commit

Permalink
(fix) enumerateKeychain not returning updated value.
Browse files Browse the repository at this point in the history
  • Loading branch information
IPMegladon committed Sep 10, 2024
1 parent 77bc2fa commit b38cec4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions agent/src/ios/keychain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ const enumerateKeychain = (): IKeychainData[] => {
});

const keyChainData: IKeychainData[] = [];
keyChainData.concat(...itemClassResults).filter((n) => n !== undefined);

return keyChainData;
return keyChainData.concat(...itemClassResults).filter((n) => n !== undefined);
};

// print raw entries using some Frida magic
Expand Down

0 comments on commit b38cec4

Please sign in to comment.