From a27b0955fd53e4ac791e3ac2d3e3c5ecb5b60d16 Mon Sep 17 00:00:00 2001 From: rrelyea Date: Wed, 25 Jul 2007 23:49:56 +0000 Subject: 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 --- src/coolkey/slot.cpp | 13 ++++--------- 1 file 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 */ -- cgit v1.2.3