fix typo
This commit is contained in:
parent
60d4fca47a
commit
f6fecaaa9b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ test_mifare_ultralightc_authenticate (void)
|
||||||
MifareDESFireKey key;
|
MifareDESFireKey key;
|
||||||
|
|
||||||
if (tag->tag_info->type == ULTRALIGHT_C) {
|
if (tag->tag_info->type == ULTRALIGHT_C) {
|
||||||
uint8_t key1_3des_data[16] = { 0x49, 0x45, 0x4D, 0x4B, 0x41, 0x45, 0x52, 0x42, 0x21, 0x4E, 0x41, 0x43, 0x55, 0x4F, 0X59, 0x46 };
|
uint8_t key1_3des_data[16] = { 0x49, 0x45, 0x4D, 0x4B, 0x41, 0x45, 0x52, 0x42, 0x21, 0x4E, 0x41, 0x43, 0x55, 0x4F, 0x59, 0x46 };
|
||||||
key = mifare_desfire_3des_key_new (key1_3des_data);
|
key = mifare_desfire_3des_key_new (key1_3des_data);
|
||||||
res = mifare_ultralightc_authenticate (tag, key);
|
res = mifare_ultralightc_authenticate (tag, key);
|
||||||
cut_assert_equal_int (0, res, cut_message ("mifare_ultralightc_authenticate() failed"));
|
cut_assert_equal_int (0, res, cut_message ("mifare_ultralightc_authenticate() failed"));
|
||||||
|
|
Loading…
Reference in a new issue