On Wed, 10 Oct 2007, Durga Prasad wrote: >Hi All, > >I am seeing openssl PKCS#11 engine code. I have some doubts regarding this. > >1) Why are we passing NULL argument to C_Initialize. If the NULL argument >is passed, we are not supposed to access to use PKCS11 library from >multiple threads simultaneously.
Durga, the behavior of Solaris libpkcs11 is to always support multiple threads. So, this argument is essentially ignored then. For an application, it does not make a difference. >2) How is opensc PKCS#11 engine different from openssl PKCS#11 engine? eh, I looked into this some time ago, I think that OpenSC's engine supports slighly more then our engine but I can't remember what it was :( If you find out I would be happy to hear that. Jan. -- Jan Pechanec