Merge r487 from the libfreefare-desfire branch.

This commit is contained in:
Romain Tartiere 2010-07-26 20:21:02 +00:00
parent f425ae30c6
commit 9ba6d198b8

View file

@ -174,7 +174,7 @@ main(int argc, char *argv[])
switch (freefare_get_tag_type (tags[i])) { switch (freefare_get_tag_type (tags[i])) {
case CLASSIC_4K: case CLASSIC_4K:
if (key_10_type != MFC_KEY_B) { 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; error = 1;
goto error; goto error;
} }