Most likely you are crashing because of this: http://www.openssl.org/support/faq.cgi#PROG2 Please make sure that you use the same MSVCRT libraries accross all the libraries (openssl, libxml, libxslt, xmlsec) and your application itself. Aleksey