mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Minor fixes
* fix compiler warnings on Ubuntu * cmdhf14a.c: make manufactureMapping static * cmdhf14a.c: fix format strings
This commit is contained in:
parent
91e03840f4
commit
b838c4ff27
6 changed files with 17 additions and 17 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 %zd len %zd\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 %zd len %zd\n", tmp_len, sizeof(pk_N));
|
||||
free(tmp);
|
||||
goto close;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue