Merge the freefare-desfire branch into trunk.

This commit is contained in:
Romain Tartiere 2010-07-26 21:48:18 +00:00
parent 3f6a142b57
commit 5779d6f945
38 changed files with 4943 additions and 116 deletions

View file

@ -19,6 +19,7 @@
#include <cutter.h>
#include <string.h>
#include <strings.h>
#include <freefare.h>
#include "freefare_internal.h"
@ -113,7 +114,7 @@ test_mifare_classic_format (void)
};
MifareClassicBlock empty;
memset (empty, '\x00', sizeof (empty));
bzero (empty, sizeof (empty));
res = mifare_classic_write (tag, 0x3c, data);
cut_assert_equal_int (0, res, cut_message ("mifare_classic_write() failed"));