Re: Should PK11_Derive() save the failure status?

Robert Relyea <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
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
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.