Kai Engert wrote:
Wan-Teh Chang wrote:
So, if the app has already initialized NSS,
you just go ahead and use NSS functions. Else,
you have to initialize NSS (in the "no database"
mode) first, and have to shut down NSS.
[...]
Only if you can be *absolutely* sure that your own code will run prior
to any other PSM/NSS code, and only if you can be *absolutely* sure that
your "special ealy code" will be completed prior to any other PSM/NSS
code, you could try the approach illustrated by Wan-Teh. [...]
Why not then make what's require so that HASH_* NSS can run without
initializing ? Or then enable to incrementally update from a NoDB init
when doing NSS_InitReadWrite.
For example, we could have a check in Firefox to ensure the exe is not
corrupted at startup, and this could create a need for such a functionality.
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto