Pierre Ossman:
> I've had another look at this and implemented a somewhat ugly hack to
> provide this functionality. Basically C_Login will return success for
> CKU_SO if it can't find an auth object and then rely on the PIN cache
> in C_InitPIN.
> 
> Comment away!

Please see:
http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012894.html
http://www.opensc-project.org/pipermail/opensc-devel/2009-November/012891.html


 > --- src/pkcs11/framework-pkcs15.c    (revision 18564)

For current trunk:

In file included from framework-pkcs15.c:23:
framework-pkcs15.c: In function 'pkcs15_login':
framework-pkcs15.c:973: warning: implicit declaration of function 
'cache_pin'
framework-pkcs15.c: In function 'pkcs15_init_pin':
framework-pkcs15.c:1144: error: 'struct pkcs15_slot_data' has no member 
named 'pin'
framework-pkcs15.c:1145: error: 'struct pkcs15_slot_data' has no member 
named 'pin'
make[3]: *** [framework-pkcs15.lo] Error 1
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to