[389-commits] esc/src/lib/coolkey SmartCardMonitoringThread.cpp, 1.4, 1.5

Jack Magne jmagne at fedoraproject.org
Sat Jun 6 00:23:16 UTC 2009


Author: jmagne

Update of /cvs/dirsec/esc/src/lib/coolkey
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11985

Modified Files:
	SmartCardMonitoringThread.cpp 
Log Message:
Fix for Bug #496759.


Index: SmartCardMonitoringThread.cpp
===================================================================
RCS file: /cvs/dirsec/esc/src/lib/coolkey/SmartCardMonitoringThread.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SmartCardMonitoringThread.cpp	18 Apr 2009 23:25:15 -0000	1.4
+++ SmartCardMonitoringThread.cpp	6 Jun 2009 00:23:13 -0000	1.5
@@ -159,7 +159,7 @@
 
     /* if we think we have a token, but it's not the right one, or it's 
      * not there, then send a removal event */
-        if (info && (!isPresent || (info->mSeries != PK11_GetSlotSeries(slot))) ) {
+        if (info && !isPresent) {
 
             PR_LOG( coolKeyLogSC, PR_LOG_DEBUG, 
              ("%s SmartCardMonitoringThread::Execute Token Removed : \n",GetTStamp(tBuff,56)));




More information about the Fedora-directory-commits mailing list