On 02/22/2017 10:44 AM, Andrew Cagney wrote:
Hi,

I've got a PK11_Derive() call failing (presumably something silly on
my part), but frustratingly, PORT_GetError() just returns 0.

It seems that all variants of PK11_Derive() don't call:

     PORT_SetError(PK11_MapError(crv));

with the error status from ->C_DeriveKey().  Should they?

Yes, please write a bug on this. The mapping should happen directly after the C_DeriveKey() call.

bob
   Or is there
some other way (short of debugging) to get at least a hint has to my
error.

Andrew


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

Reply via email to