[SmartcardServices-Changes] [109] trunk/Tokend/PKCS11/GemaltoToken.cpp

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 2 02:44:32 PST 2010


Revision: 109
          http://trac.macosforge.org/projects/smartcardservices/changeset/109
Author:   ludovic.rousseau at gmail.com
Date:     2010-02-02 02:44:29 -0800 (Tue, 02 Feb 2010)
Log Message:
-----------
GemaltoToken::probe(): add a missing if () line (Oops!)

Modified Paths:
--------------
    trunk/Tokend/PKCS11/GemaltoToken.cpp

Modified: trunk/Tokend/PKCS11/GemaltoToken.cpp
===================================================================
--- trunk/Tokend/PKCS11/GemaltoToken.cpp	2010-02-02 10:10:53 UTC (rev 108)
+++ trunk/Tokend/PKCS11/GemaltoToken.cpp	2010-02-02 10:44:29 UTC (rev 109)
@@ -374,6 +374,7 @@
 					if (strncmp((char*) slotInfo.slotDescription, readerState.szReader, strlen(readerState.szReader)) == 0)
 					{
 						rv  = CK_D_(C_GetTokenInfo)(mCKSlotId, &mCKTokenInfo);
+						if (rv != CKR_OK)
 						{
 							PKCS11_FAILED("C_GetTokenInfo", rv);
 							continue;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100202/4a4d5fca/attachment.html>


More information about the SmartcardServices-Changes mailing list