Skip to content
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
5 changes: 4 additions & 1 deletion src/Common/EMVCard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,10 @@ namespace VeraCrypt
if (aidNode && aidNode->Value->size() > 0 && aidPriorityNode && aidPriorityNode->Value->size() == 1)
{
supportedAIDs.push_back(*aidNode->Value.get());
supportedAIDsPriorities.push_back(aidNode->Value->at(0));
// Sort on the Application Priority Indicator, which the line above
// already required to be exactly one byte. Using the AID's first
// byte collapsed every key to 0xA0, the registered provider prefix.
supportedAIDsPriorities.push_back(aidPriorityNode->Value->at(0));
}
}
for(size_t i = 0; i < supportedAIDs.size(); i++)
Expand Down