diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/coolkey/slot.cpp | 13 |
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 */ |