1 --- openssl-0.9.8h/ssl/ssl_algs.c 2007-04-24 01:50:21.000000000 +0200
2 +++ openssl-0.9.8h-ocf/ssl/ssl_algs.c 2008-07-12 17:34:27.000000000 +0200
7 +#ifndef OPENSSL_NO_ENGINE
8 +#include <openssl/engine.h>
10 #include <openssl/objects.h>
11 #include <openssl/lhash.h>
15 /* initialize cipher/digest methods table */
18 +#ifndef OPENSSL_NO_ENGINE
19 + /* Initialize available hardware crypto engines */
20 + ENGINE_load_builtin_engines();
21 + ENGINE_register_all_complete();
22 + /* ...and set cryptodev to be the default. */
23 + ENGINE_set_default_ciphers(ENGINE_by_id("cryptodev"));