Hello,


On May 10, 2011, at 10:02 , Giuliano Bertoletti wrote:
> 
>> A list of CK_SLOT_IDs is returned by C_GetSlotList. A priori, any value of
>> CK_SLOT_ID can be a valid slot identifier—in particular, a system may 
>> have a slot
>> identified by the value 0. It need not have such a slot, however.
> 
> Notice also that by matching the supplied value against slot_index you 
> won't loose anything in case slot_index = slot_id.

For real life use, both fixed slot ID-s and fixed slot indexes seem to be 
necessary (have a look at pkcs11-tool)

To make it simple: do you have a patch, that fixes both cases (so that a slot 
index and a hardcoded slot ID can be used)?

-- 
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to