Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Remove Bad CLA response test as some authenticator only support 1 logical channel on NFC #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions u2f-tests/NFC/u2f_nfc_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ int main(int argc, char* argv[]) {
CHECK_EQ(0x6D00, xchgAPDUExtended(0, 0 /* not U2F INS */, 0, 0, 0, "", &rapduLen, rapdu));
CHECK_EQ(0, rapduLen);

std::cout << "\nCheck Bad CLA Response";
CHECK_NE(0x9000, xchgAPDUShort(1 /* not U2F CLA, 0x00 */, U2F_INS_AUTHENTICATE, 0, 0, 0, "abc", &rapduLen, rapdu));
CHECK_EQ(0, rapduLen);

std::cout << "\nCheck Wrong Length U2F_REGISTER Response";
CHECK_EQ(0x6700u, xchgAPDUShort(0, U2F_INS_REGISTER, 0, 0, 0, "", &rapduLen, rapdu));
CHECK_EQ(0, rapduLen);
Expand Down