Workaround invalid write in read_data () (sic)
This has to be improved to some extend in the near future (hence the FIXME).
This commit is contained in:
parent
c9680fd7c7
commit
a6e52db696
2 changed files with 7 additions and 2 deletions
|
|
@ -914,7 +914,7 @@ test_mifare_desfire_des_macing (void)
|
|||
res = mifare_desfire_write_data (tag, 1, 0, strlen (s), s);
|
||||
cut_assert_success ("mifare_desfire_write_data()");
|
||||
|
||||
char buffer[20];
|
||||
char buffer[50];
|
||||
res = mifare_desfire_read_data (tag, 1, 0, 0, buffer);
|
||||
cut_assert_success ("mifare_desfire_read_data()");
|
||||
cut_assert_equal_int (20, res, cut_message ("retval"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue