On Sun, Oct 10, 2010 at 7:45 AM, Matej Kurpel <mkur...@gmail.com> wrote:
>
> What turned out to be the problem, was that
> the CK_BBOOL values were 4-bytes and not 1 byte in size. Took some hours and
> some hair to discover, but hopefully someone finds this if he has the same
> problem and solves it right away :)

CK_BBOOL is ultimately defined as 'unsigned char', so it is one byte in size.

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/nss/lib/util/pkcs11t.h&rev=1.20&mark=70,78-79#69

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

Reply via email to