[SmartcardServices-Changes] [115] trunk/Tokend/PKCS11/GemaltoToken.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 26 08:06:45 PST 2010
Revision: 115
http://trac.macosforge.org/projects/smartcardservices/changeset/115
Author: ludovic.rousseau at gmail.com
Date: 2010-02-26 08:06:43 -0800 (Fri, 26 Feb 2010)
Log Message:
-----------
GemaltoToken::probe(): use the correct slot ID instead of an
uninitialized value
Modified Paths:
--------------
trunk/Tokend/PKCS11/GemaltoToken.cpp
Modified: trunk/Tokend/PKCS11/GemaltoToken.cpp
===================================================================
--- trunk/Tokend/PKCS11/GemaltoToken.cpp 2010-02-24 08:15:10 UTC (rev 114)
+++ trunk/Tokend/PKCS11/GemaltoToken.cpp 2010-02-26 16:06:43 UTC (rev 115)
@@ -373,7 +373,7 @@
/* check that the PKCS#11 slot is using the reader selected by the tokend */
if (strncmp((char*) slotInfo.slotDescription, readerState.szReader, strlen(readerState.szReader)) == 0)
{
- rv = CK_D_(C_GetTokenInfo)(mCKSlotId, &mCKTokenInfo);
+ rv = CK_D_(C_GetTokenInfo)(pSlotID[i], &mCKTokenInfo);
if (rv != CKR_OK)
{
PKCS11_FAILED("C_GetTokenInfo", rv);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/smartcardservices-changes/attachments/20100226/191a4db2/attachment.html>
More information about the SmartcardServices-Changes
mailing list