Udaybhaskar Nori wrote:
Hi all,
I have an application which uses nss-3.9. At the start I am initializing the nss using NSS_Init and in the end , I am using NSS_Shutdown. I have a case in my application where I need to re-initialize NSS and later shutdown. ( Iterates like this). But I am having problems re-initializing when I use either NSS_Init or NSS_InitReadWrite. I am unable to proceed any further, as I try to re-initialize after a call to NSS_Shutdown. The application throws the exception "security library: no security module can perform the requested operation". Please give me some suggestions on how to get away with this problem.
NSS_Shutdown returns a SECStatus. If it returns SECSuccess, then you should be able to re-initialize NSS. If NSS_Shutdown returns SECFailure, then you will not be able to re-initialize NSS. NSS_Shutdown will fail if your application has not released all the references to reference- counted objects that it has obtained from NSS, e.g. slots, certs, keys, and modules. _______________________________________________ mozilla-crypto mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-crypto
