From 9ba6d198b8a48b12d7370996e30c70289fde5fc4 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Mon, 26 Jul 2010 20:21:02 +0000 Subject: [PATCH] Merge r487 from the libfreefare-desfire branch. --- examples/mifare-classic-write-ndef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mifare-classic-write-ndef.c b/examples/mifare-classic-write-ndef.c index a73492a..39376aa 100644 --- a/examples/mifare-classic-write-ndef.c +++ b/examples/mifare-classic-write-ndef.c @@ -174,7 +174,7 @@ main(int argc, char *argv[]) switch (freefare_get_tag_type (tags[i])) { case CLASSIC_4K: if (key_10_type != MFC_KEY_B) { - if( 0 != fix_mad_trailer_block( tags[i], 0x40, key_10, key_10_type )) { + if( 0 != fix_mad_trailer_block( tags[i], 0x10, key_10, key_10_type )) { error = 1; goto error; }