Use Iso7816ExchangeEx in eMRTD

This commit is contained in:
Philippe Teuwen committed 2021-06-04 21:58:38 +02:00
1 parent 56daa155b5
commit 61d5a87c4f
6 files changed
+193 -207

No files matched your search

+1 -1
View File
@@ -1680,7 +1680,7 @@ static int handle_14b_apdu(bool chainingin, uint8_t *datain, int datainlen,
*dataoutlen += dlen;
if (maxdataoutlen && *dataoutlen > maxdataoutlen) {
PrintAndLogEx(ERR, "APDU: buffer too small(%d), needs %d bytes", *dataoutlen, maxdataoutlen);
PrintAndLogEx(ERR, "APDU: buffer too small(%d), needs %d bytes", maxdataoutlen, *dataoutlen);
return PM3_ESOFT;
}