mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Fix issue #646
This commit is contained in:
parent
1e93bd720f
commit
61f3ef61de
1 changed files with 1 additions and 0 deletions
|
@ -300,6 +300,7 @@ static int get_desfire_keyversion(uint8_t curr_key, uint8_t *num_versions) {
|
||||||
static int get_desfire_select_application(uint8_t *aid) {
|
static int get_desfire_select_application(uint8_t *aid) {
|
||||||
if (aid == NULL) return PM3_ESOFT;
|
if (aid == NULL) return PM3_ESOFT;
|
||||||
|
|
||||||
|
DropField();
|
||||||
uint8_t c[] = {SELECT_APPLICATION, 0x00, 0x00, 0x03, aid[0], aid[1], aid[2], 0x00}; // 0x5a
|
uint8_t c[] = {SELECT_APPLICATION, 0x00, 0x00, 0x03, aid[0], aid[1], aid[2], 0x00}; // 0x5a
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
int ret = SendDesfireCmd(c, sizeof(c), INIT, sizeof(c), 0, &resp, 3000);
|
int ret = SendDesfireCmd(c, sizeof(c), INIT, sizeof(c), 0, &resp, 3000);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue