Petar Popara wrote:
When calling CERT_GetDefaultCertDB() I 0 as return and PR_GetError() returns
this error:
PR_FIND_SYMBOL_ERROR -5975
How can I find out what is wrong?
If CERT_GetDefaultCertDB() returns 0, it means NSS
hasn't been initialized.
CERT_GetDefaultCertDB() does not set an error code
when it returns 0, so the error code returned by
PR_GetError() is from an unrelated previously
failed function call.
I don't know how we can handle this better. Many
NSS functions simply malfunction or crash if NSS
isn't initialized. NSS doesn't try to detect that
and doesn't have a "not initialized" error code.
Wan-Teh
_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto