about PKCS11

Pablo Cantarini pablo.cantarini at gilbarco.com
Thu Nov 24 22:14:20 CET 2011


Stef Walter <stef-list <at> thewalter.net> writes:

> 
> On 10/08/2011 08:10 AM, Stef Walter wrote:
> > On 2011-10-06 21:45, Nikos Mavrogiannopoulos wrote:
> >> Hello,
> >>  Do you need smart card support? If not just use the --without-p11-kit
> >> configure flag. If you need smart-card support in gnutls, then I don't
> >> know whether p11-kit is could run on windows. Stef would have more
> >> insight on that.
> > 
> > Yes, win32 support needs to be done. I don't see any major obstacles,
> > but I just need to get a win32 VM setup and actually work on it. I
> > imagine I'll need to do an MSVC and a GCC mingw build. I'm not looking
> > forward to releasing binaries, but at least I'll get it building.
> 
> Completed the initial port of p11-kit to win32. It's at p11-kit git master.
> 
> The build works, and the tools run. I built with:
> 
> $ ./autogen.sh --host=i586-mingw32msvc --enable-strict ...
> 
> The tests don't all pass on wine yet. In particular the test-init
> recursion test fails. But I'm not sure if this is a wine bug or a
> problem in the p11-kit windows stuff.
> 
> The win32 port needs more attention, but at least this is a start.
> 
> Thanks Vincent for your help.
> 
> Cheers,
> 
> Stef
> 


Hi Stef,

I'm trying to build GnuTLS on windows using MinGW. Due to this I'm building p11-
kit to as I want to have the feature.

Just running:

./configure --enable-shared
make
make check

Indeed, "test-init.exe" is failing while initializing the module using threads.

What I see is that the first call of "p11_kit_initialize_module" succeeds but 
the second one fails. By the time the _p11_thread_join over the second thread 
tries to join, the CuAssertTrue at "initialization_thread" in the second thread 
was triggered.

I'm using a native windows (WinXP SP3) 32 bit machine.

Is there any findings on how this can be fixed?

Thanks,
-Pablo.






More information about the Gnutls-devel mailing list