mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-22 13:10:43 +08:00
fix DesfireCommandEx
This commit is contained in:
parent
741f560a8d
commit
5a72b53676
1 changed files with 1 additions and 1 deletions
|
@ -919,7 +919,7 @@ static int DesfireCommandEx(DesfireContext *dctx, uint8_t cmd, uint8_t *data, si
|
||||||
if (resplen)
|
if (resplen)
|
||||||
*resplen = xresplen;
|
*resplen = xresplen;
|
||||||
if (resp)
|
if (resp)
|
||||||
memcpy(resp, xresp, xresplen);
|
memcpy(resp, xresp, (splitbysize == 0) ? xresplen : xresplen * splitbysize);
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue