Merge the freefare-desfire branch into trunk.
This commit is contained in:
parent
3f6a142b57
commit
5779d6f945
38 changed files with 4943 additions and 116 deletions
|
|
@ -55,6 +55,7 @@
|
|||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include <nfc/nfc.h>
|
||||
|
||||
|
|
@ -663,7 +664,7 @@ mifare_classic_format_sector (MifareTag tag, const MifareClassicSectorNumber sec
|
|||
}
|
||||
|
||||
MifareClassicBlock empty_data_block;
|
||||
memset (empty_data_block, '\x00', sizeof (empty_data_block));
|
||||
bzero (empty_data_block, sizeof (empty_data_block));
|
||||
|
||||
MifareClassicBlock default_trailer_block = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* Key A */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue