Re: [opensc-devel] patches related to reopening PKCS#11 modules in same process

2009-10-20 Thread David Smith
Thanks Andreas! 2009/10/20 Andreas Jellinghaus > Hi David, > > thanks for both patches, they look good to me so I applied them > right away. > > Regards, Andreas > ___ > opensc-devel mailing list > opensc-devel@lists.opensc-project.org > http://www.ope

Re: [opensc-devel] patches related to reopening PKCS#11 modules in same process

2009-10-20 Thread David Smith
t; That could be an acceptable failure scenario in the libp11 case because it doesn't seem like it's meant to be thread safe (it's supposed to be a simplification layer...) At any rate, the libp11 devs should fill us in how they want it to be handled. > On Tue, Oct 20, 2009 at 11:45 AM, D

Re: [opensc-devel] patches related to reopening PKCS#11 modules in same process

2009-10-20 Thread David Smith
On Tue, Oct 20, 2009 at 6:41 PM, Alon Bar-Lev wrote: > For the C_Initialize() patch... If you got already initialize you > should not call C_Finalize. Can you explain more? How should the handling look like with libp11? > > > On Tue, Oct 20, 2009 at 11:23 AM, David Smith > w

[opensc-devel] patches related to reopening PKCS#11 modules in same process

2009-10-20 Thread David Smith
not be bubbled up to the caller. Please take a look, - dds commit 26891c363bc4fa2abcb768cd149c77228cb60d30 Author: David Smith Date: Tue Oct 20 17:56:36 2009 +0900 Fix pin length handling to prevent segfault from cleansing. When using OPENSSL_cleanse on a strdup()'d pin, the c

[opensc-devel] [patch] specifying args to C_Initialize for libp11 and engine-pkcs11

2008-07-24 Thread David Smith
ibp11 and engine-pkcs11, so I've attached a patch that adds a new function in libp11, PKCS11_CTX_init_args, and a new engine command, CMD_INIT_ARGS. Thanks, - dds From 02d2934a6d7ec67aacdfe556f88e89ceb51a14c9 Mon Sep 17 00:00:00 2001 From: David Smith <[EMAIL PROTECTED]> Date: Thu, 24 J