Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > On Sep 6, 2010, at 3:36 PM, Viktor TARASOV wrote: > >>> There are five options to deal with the legacy when implementing this >>> feature: >>> >>> a) include pkcs15 specific headers in pkcs11-global.c. Would be a >>> "violation" for the rest of those "global" fu

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 3:36 PM, Viktor TARASOV wrote: >> There are five options to deal with the legacy when implementing this >> feature: >> >> a) include pkcs15 specific headers in pkcs11-global.c. Would be a >> "violation" for the rest of those "global" functions as they currently are. >>

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > > On Sep 6, 2010, at 11:27 AM, Viktor TARASOV wrote: > >> webmas...@opensc-project.org wrote: >> >>> Modified: trunk/src/pkcs11/framework-pkcs15.c >>> +CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) >>> >>> Modified: trunk/src/pkcs11/pkcs11-

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 11:27 AM, Viktor TARASOV wrote: > webmas...@opensc-project.org wrote: >> Modified: trunk/src/pkcs11/framework-pkcs15.c >> +CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) >> >> Modified: trunk/src/pkcs11/pkcs11-global.c >> -CK_RV C_GetTokenInfo(CK_SLOT_I

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
webmas...@opensc-project.org wrote: > Revision: 4692 > Author: martin > Date: 2010-09-05 16:53:08 + (Sun, 05 Sep 2010) > > Log Message: > --- > pkcs11: #250: refresh PIN counters and associated token flags on every call > to C_GetTokenInfo > > Modified: trunk/src/pkcs11/framework