summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrrelyea <rrelyea@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-07-25 23:49:56 +0000
committerrrelyea <rrelyea@fba4d07e-fe0f-4d7f-8147-e0026e666dc0>2007-07-25 23:49:56 +0000
commita27b0955fd53e4ac791e3ac2d3e3c5ecb5b60d16 (patch)
tree23695d128f71e449cacd37737f63bb0288f8109d /src
parent6daa38ca7cd63611b944963aa5e72d1a28a3e1f1 (diff)
Don't filter based on ATR at all. Let the application deal with which cards
it wants to work with git-svn-id: http://svn.fedorahosted.org/svn/coolkey/trunk@64 fba4d07e-fe0f-4d7f-8147-e0026e666dc0
Diffstat (limited to 'src')
-rw-r--r--src/coolkey/slot.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/coolkey/slot.cpp b/src/coolkey/slot.cpp
index e9ab304..b71b4e9 100644
--- a/src/coolkey/slot.cpp
+++ b/src/coolkey/slot.cpp
@@ -564,15 +564,10 @@ Slot::connectToToken()
state = CARD_PRESENT;
}
- if ( CKYBuffer_DataIsEqual(&cardATR, ATR, sizeof (ATR)) ||
- CKYBuffer_DataIsEqual(&cardATR, ATR1, sizeof(ATR1)) ||
- CKYBuffer_DataIsEqual(&cardATR, ATR2, sizeof(ATR2)) ) {
-
- if (Params::hasParam("noAppletOK"))
- {
- state |= APPLET_SELECTABLE;
- mCoolkey = 1;
- }
+ if (Params::hasParam("noAppletOK"))
+ {
+ state |= APPLET_SELECTABLE;
+ mCoolkey = 1;
}
/* support CAC card. identify the card based on applets, not the ATRS */