mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 17:56:53 +08:00
input list build fixed
This commit is contained in:
parent
4880316ab9
commit
010492a87e
1 changed files with 3 additions and 1 deletions
|
@ -892,7 +892,7 @@ int CmdEMVExec(const char *cmd) {
|
|||
|
||||
// Build Input list for Offline Data Authentication
|
||||
// EMV 4.3 book3 10.3, page 96
|
||||
if (SFIoffline) {
|
||||
if (SFIoffline > 0) {
|
||||
if (SFI < 11) {
|
||||
const unsigned char *abuf = buf;
|
||||
size_t elmlen = len;
|
||||
|
@ -907,6 +907,8 @@ int CmdEMVExec(const char *cmd) {
|
|||
memcpy(&ODAiList[ODAiListLen], buf, len);
|
||||
ODAiListLen += len;
|
||||
}
|
||||
|
||||
SFIoffline--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue