Hello,
I will use your gpkcs11 in order to test the HSM support of ejbca.org
I have worked with the CVS head and with my changes the project is now building and running on Debian/testing.
I have not tested it on other platforms. I have just tried not to touch things dealing with other platforms.
Apart from changing the build to the resent autobuild environment I had to do some other changes:
* The function pointer array from ceay_symbols.c is not used. I removed it since it was not working. I this feature was not finished yet and had not been tested properly.
* The code under IniFile is not used. Instead the old ini file implementation is used. Seems that IniFile was only for Windows.
* I fixed mutex.c so that it is working on Linux.
* The IDEA algoritm is removed from the ceay token due to changes in openssl.
* I had to put I mutex when doing the RSA operation in order to avoid crashing when several threads all with different pkcs#11 sessions are accessing the ceay token.
I hope that you want to check in my patch in the CVS head.
Later on I will see if it is possible to add elliptic curve support to the ceay token.
With attached patch the build is performed like this:
cvs -z3 -d:pserver:anonymous@gpkcs11.cvs.sourceforge.net:/cvsroot/gpkcs11 co -PA gpkcs11
cd gpkcs11
patch -p0 < ../patch7.txt
autoreconf -fis
./configure --prefix=$PWD/usr --enable-ceay-token --with-thread=yes
make install
Best Regards,
Lars Silvén
patch to make it work