Nelson B Bolyard wrote:
On 2009-09-30 09:14 PDT, Luciola wrote:

I am currently trying to create a dh public and private key using :
privKey = SECKEY_CreateDHPrivateKey(&dhParam, &pubKey, NULL);

this function crashes thunderbird every time it attempt to create the public and private keys. Is it possible that this function is not supported in thunderbirds's NSS ? or perhaps I have missed out something ?

The function is supported.
I'd like to see a crash stack.
Is NSS initialized when you try to use this?
Does your dhParam structure contain a valid set of DH parameters?

Hi,

Sorry for the stupid question, I just found out there is some problem with my hex string to secitem function. Basically, the DH parameters are not set up properly.

Thank you for your time.

Regards,
Ron
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to