[opensc-devel] OT: Today's Github sweetness

2011-06-17 Thread Martin Paljak
https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdbe0acce6#diff-1 A nice example of fine Gtihub code commenting (mis?)use :) Cheers, Martin ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailma

[opensc-devel] Patch for libp11 to fix compatibility with AET SafeSign PKCS#11 library

2011-06-17 Thread Jonathan Giannuzzi
Hello, When using libp11 to wrap around the AET SafeSign PKCS#11 library, C_GetInfo fails with CKR_MUTEX_BAD. This is because an empty CK_C_INITIALIZE_ARGS structure is passed to C_Initialize. I made a change in PKCS11_CTX_load so that when no init_args have been set, no CK_C_INITIALIZE_ARGS is g

Re: [opensc-devel] OT: Today's Github sweetness

2011-06-17 Thread Anders Rundgren
On 2011-06-17 13:08, Martin Paljak wrote: > https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdbe0acce6#diff-1 > > A nice example of fine Gtihub code commenting (mis?)use :) Martin, You mean that programming really is fun? :-) :-) Deleting /usr must for and old Windows-hack like me almo

Re: [opensc-devel] Patch for libp11 to fix compatibility with AET SafeSign PKCS#11 library

2011-06-17 Thread Alon Bar-Lev
Right. But you forgot to free the memory. I've applied similar solution at r201. On Fri, Jun 17, 2011 at 2:55 PM, Jonathan Giannuzzi wrote: > Hello, > When using libp11 to wrap around the AET SafeSign PKCS#11 library, C_GetInfo > fails with CKR_MUTEX_BAD. This is because an empty CK_C_INITIALIZE_