Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.
Merged
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
6 changes: 3 additions & 3 deletions HAL/OmapiTransport.cpp
Original file line numberDiff line numberDiff line change
Expand Up@@ -193,9 +193,9 @@ bool OmapiTransport::internalTransmitApdu(
return false;
}

if ((selectResponse.size() < 2)
|| ((selectResponse[selectResponse.size() -1] & 0xFF) == 0x00)
|| ((selectResponse[selectResponse.size() -2] & 0xFF) == 0x90))
if ((selectResponse.size() < 2)
|| ((selectResponse[selectResponse.size() -1] & 0xFF) != 0x00)
|| ((selectResponse[selectResponse.size() -2] & 0xFF) != 0x90))
{
LOG(ERROR) << "Failed to select the Applet.";
return false;
Expand Down