Should PK11_Derive() save the failure status?

Andrew Cagney <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJeAr6sL1JqntTx+JjB-cdQJvVpZvYv-aEczET4P2BPqUr9Dww@mail.gmail.com>
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?  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.