mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
resplen is a pointer and we want its value
This commit is contained in:
parent
395ce7da79
commit
326d2cf5d3
1 changed files with 1 additions and 1 deletions
|
@ -1969,7 +1969,7 @@ static int handler_desfire_getvalue(mfdes_value_t *value, uint32_t *resplen, uin
|
|||
DropFieldDesfire();
|
||||
return res;
|
||||
}
|
||||
size_t dlen = (size_t)resplen;
|
||||
size_t dlen = (size_t)*resplen;
|
||||
p = mifare_cryto_postprocess_data(tag, value->value, &dlen, cs | CMAC_COMMAND | CMAC_VERIFY | MAC_VERIFY);
|
||||
(void)p;
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue