Do not abort on crypto error.

Because in some circumstances the crypto is skipped regardless of the
communication settings by the Mifare DESFire (e.g. when reading a file which is
writable with any key), do not abort if the crypto fail, and make it possible
to the user to catch such an event to fix his code accordingly.

Only display crypto diagnostic if compiled with debug support.
This commit is contained in:
Romain Tartiere 2011-02-13 14:13:35 +00:00
parent 04fe89e78c
commit 22e9854995
8 changed files with 103 additions and 14 deletions

1
NEWS
View file

@ -2,6 +2,7 @@ Changes between 0.3.0 and 0.3.1 [XX xxx XXXX]
*) Fix mifare_classic_transfer() for devices returning a 1 byte response on
success.
*) New API function mifare_desfire_last_pcd_error().
Changes between 0.2.3 and 0.3.0 [23 dec 2010]