PKCS#11 engine patch update for OpenSSL 0.9.8i
By janp on Dec 02, 2008
I've updated the PKCS#11 patch to the latest OpenSSL 0.9.8i version. The patch includes RFEs and fixes we integrated into OpenSolaris since the last patch release.
Note that from now on we use some POSIX thread functions in the engine code. There is no problem on Solaris but the build may fail on some Linux distros, and possibly other systems. The problem is that OpenSSL always tries to build a threaded library unless "no-threads" is used when configuring but sometimes doesn't succeed. See the README file, section FAQs, about how to solve the problem. I don't have any Linux box around with the PKCS#11 support so I just built the library on Gentoo 18.104.22.168 (I had to manually tweak the Configure script as described in the FAQs) but run no tests. I also built on FreeSBD 5.3. Hopefully nothing has changed and it will work. The patch to download is pkcs11_engine-0.9.8i.patch.2008-12-02.gz.