mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
ikeys: "declaration shadows a variable in the global scope" warning
This commit is contained in:
parent
6c048c5026
commit
900184b600
1 changed files with 2 additions and 2 deletions
|
@ -422,7 +422,7 @@ typedef struct {
|
|||
uint8_t div_key[8];
|
||||
} Testcase;
|
||||
|
||||
static int testDES(Testcase testcase, mbedtls_des_context ctx_enc, mbedtls_des_context ctx_dec) {
|
||||
static int testDES(Testcase testcase) {
|
||||
uint8_t des_encrypted_csn[8] = {0};
|
||||
uint8_t decrypted[8] = {0};
|
||||
uint8_t div_key[8] = {0};
|
||||
|
@ -562,7 +562,7 @@ static int testKeyDiversificationWithMasterkeyTestcases() {
|
|||
PrintAndLogEx(INFO, "Testing encryption/decryption");
|
||||
|
||||
for (i = 0; memcmp(testcases + i, empty, 8); i++)
|
||||
error += testDES(testcases[i], ctx_enc, ctx_dec);
|
||||
error += testDES(testcases[i]);
|
||||
|
||||
if (error)
|
||||
PrintAndLogEx(FAILED, "%d errors occurred (%d testcases)", error, i);
|
||||
|
|
Loading…
Reference in a new issue