Unused variables code cleanup
Code cleanup of unused payload variables for iclass legrec
This commit is contained in:
1 parent
5041fbffa7
commit
0d2741d757
2 files changed
-9
No files matched your search
@@ -4631,13 +4631,6 @@ static int iclass_recover(uint8_t key[8], uint32_t index_start, uint32_t loop, u
|
|||||||
payload->req.send_reply = true;
|
payload->req.send_reply = true;
|
||||||
payload->req.do_auth = true;
|
payload->req.do_auth = true;
|
||||||
payload->req.shallow_mod = false;
|
payload->req.shallow_mod = false;
|
||||||
payload->req2.use_raw = false;
|
|
||||||
payload->req2.use_elite = false;
|
|
||||||
payload->req2.use_credit_key = true;
|
|
||||||
payload->req2.use_replay = false;
|
|
||||||
payload->req2.send_reply = true;
|
|
||||||
payload->req2.do_auth = true;
|
|
||||||
payload->req2.shallow_mod = false;
|
|
||||||
payload->index = index_start;
|
payload->index = index_start;
|
||||||
payload->loop = loop;
|
payload->loop = loop;
|
||||||
payload->debug = debug;
|
payload->debug = debug;
|
||||||
@@ -4647,7 +4640,6 @@ static int iclass_recover(uint8_t key[8], uint32_t index_start, uint32_t loop, u
|
|||||||
payload->credit_recovery = credit;
|
payload->credit_recovery = credit;
|
||||||
memcpy(payload->nfa, no_first_auth, PICOPASS_BLOCK_SIZE);
|
memcpy(payload->nfa, no_first_auth, PICOPASS_BLOCK_SIZE);
|
||||||
memcpy(payload->req.key, key, PICOPASS_BLOCK_SIZE);
|
memcpy(payload->req.key, key, PICOPASS_BLOCK_SIZE);
|
||||||
memcpy(payload->req2.key, aa2_standard_key, PICOPASS_BLOCK_SIZE);
|
|
||||||
|
|
||||||
PrintAndLogEx(INFO, "Recover started...");
|
PrintAndLogEx(INFO, "Recover started...");
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ typedef struct {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
iclass_auth_req_t req;
|
iclass_auth_req_t req;
|
||||||
iclass_auth_req_t req2;
|
|
||||||
uint32_t index;
|
uint32_t index;
|
||||||
uint32_t loop;
|
uint32_t loop;
|
||||||
uint8_t nfa[8];
|
uint8_t nfa[8];
|
||||||
|
|||||||
Reference in new issue
Block a user