Ludovic Rousseau wrote:
For example the type of tokenPresent is changed from CK_BBOOL to unsigned char.

the original pkcs11t.h has:
/* an unsigned 8-bit value */
typedef unsigned char     CK_BYTE;

and
/* a BYTE-sized Boolean flag */
typedef CK_BYTE           CK_BBOOL;

so this is not a change. we only skip the double indirection.
also there are no #ifdef or anything, so on every plattform and
compiler the values are assigned like that, so I see no reason
to add or keep any indirection. do you agree?

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to