mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
remove unused param in desfire_print_signature
This commit is contained in:
parent
094882454d
commit
5b7486553f
1 changed files with 2 additions and 3 deletions
|
@ -372,8 +372,7 @@ static int mfdes_get_info(mfdes_info_res_t *info) {
|
|||
}
|
||||
|
||||
// --- GET SIGNATURE
|
||||
static int desfire_print_signature(uint8_t *uid, uint8_t uidlen, uint8_t *signature, size_t signature_len, nxp_cardtype_t card_type) {
|
||||
(void)card_type;
|
||||
static int desfire_print_signature(uint8_t *uid, uint8_t uidlen, uint8_t *signature, size_t signature_len) {
|
||||
|
||||
if (uid == NULL) {
|
||||
PrintAndLogEx(DEBUG, "UID=NULL");
|
||||
|
@ -742,7 +741,7 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
|||
res = DesfireReadSignature(&dctx, 0x00, signature, &signature_len);
|
||||
if (res == PM3_SUCCESS) {
|
||||
if (signature_len == 56)
|
||||
desfire_print_signature(info.uid, info.uidlen, signature, signature_len, cardtype);
|
||||
desfire_print_signature(info.uid, info.uidlen, signature, signature_len);
|
||||
else
|
||||
PrintAndLogEx(WARNING, "--- GetSignature returned wrong signature length: %zu", signature_len);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue