Please find enclosed a patch I've tested on 4.04 . It adds support for OpenSSL engines. Please note that I did not update the man page. Files modified... configure.ac To add the --enable-ssl-engine rule. options.c ssl.c prototypes.h Because I've modified the configure.ac script the user must run autoconf (I used version 2.57) to generate the new configure file. This adds a new ./configure option --enable-ssl-engine which defines SSL_ENGINE. This is required because the non engine version of OpenSSL-0.9.6 does not include the engine header files. OpenSSL versions 0.9.6(whatever) require an additional patch (to fix a build bug), which is available at http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=588 No patch needed if you use the OpenSSL 0.9.7 branch.