mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 18:33:18 +08:00
emrtd: Fix bug with certain file reads
This commit is contained in:
parent
c1339a4473
commit
20ca241816
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ static int emrtd_get_asn1_data_length(uint8_t *datain, int datainlen, int offset
|
|||
// https://wf.lavatech.top/ave-but-random/emrtd-data-quirks#EF_SOD
|
||||
return datainlen;
|
||||
} else if (lenfield == 0x81) {
|
||||
int tmp = (*(datain + offset + 1) << 8);
|
||||
int tmp = (*(datain + offset + 1));
|
||||
return tmp;
|
||||
//return ((int) * (datain + offset + 1));
|
||||
} else if (lenfield == 0x82) {
|
||||
|
|
Loading…
Reference in a new issue