On 27.06.2014 17:26, Nikos Mavrogiannopoulos wrote: > This patch makes p11-kit a bit less verbose.
- if (rv != CKR_OK) { + if (rv != CKR_OK && rv != CKR_CRYPTOKI_ALREADY_INITIALIZED) { Thanks for the patch, but wouldn't this cause problems when p11_kit_modules_finalize() (or another C_Finalize invocation) is called, and the module would be finalized too many times? Where did you see this happen? Was the module loaded with the P11_KIT_UNMANAGED flag? The goal is that when modules are managed by p11-kit they never return that error code. Cheers, Stef _______________________________________________ p11-glue mailing list p11-glue@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/p11-glue