Xiaoshuo Wu wrote:
> On Sun, 17 Jan 2010 20:36:53 +0800, Xiaoshuo Wu <xiaos...@ftsafe.com> 
> wrote:
>
>> I'd like to hear your plan for these changes so as to help me fix this.
> I recovered cache_pin() in rev 3783, renamed it add_pins_to_keycache() 
> and had some adjustment. When login/change PIN/init PIN/create object 
> successful, we cache the pin. I made a patch for this, please review 
> it, any advices are welcome, thank you.

Afaiu,
there is the tendency to replace the existing global static pin cache 
system (pkcs15init/keycache.c)
with the pin cache as a part of the sc_pkc15_card structure 
(sc_pkcs15_pincache_entry_t *pin_cache[SC_PKCS15_MAX_PINS];).

Your proposal still uses the first one.
As for me, the second one is more preferable.


> Regards, Xiaoshuo

Kind wishes,
Viktor.


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


-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>

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

Reply via email to