mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
chg: since we now uses c99 as standard, we can use string formatter %zu
This commit is contained in:
parent
009e4f9d99
commit
f0e328a64b
1 changed files with 2 additions and 2 deletions
|
@ -219,7 +219,7 @@ static int test_pk(bool verbose)
|
|||
|
||||
tmp = crypto_pk_get_parameter(pubk, 0, &tmp_len);
|
||||
if (tmp_len != sizeof(pk_N) || memcmp(tmp, pk_N, tmp_len)) {
|
||||
fprintf(stderr, "ERROR: crypto_pk_get_parameter(0) Modulus. param len %d len %d\n", tmp_len, sizeof(pk_N));
|
||||
fprintf(stderr, "ERROR: crypto_pk_get_parameter(0) Modulus. param len %d len %zu\n", tmp_len, sizeof(pk_N));
|
||||
free(tmp);
|
||||
goto close_pub;
|
||||
}
|
||||
|
@ -256,7 +256,7 @@ static int test_pk(bool verbose)
|
|||
|
||||
tmp = crypto_pk_get_parameter(privk, 0, &tmp_len);
|
||||
if (tmp_len != sizeof(pk_N) || memcmp(tmp, pk_N, tmp_len)) {
|
||||
fprintf(stderr, "ERROR: crypto_pk_get_parameter(0) Modulus. param len %d len %d\n", tmp_len, sizeof(pk_N));
|
||||
fprintf(stderr, "ERROR: crypto_pk_get_parameter(0) Modulus. param len %d len %zu\n", tmp_len, sizeof(pk_N));
|
||||
free(tmp);
|
||||
goto close;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue