]>
Commit | Line | Data |
---|---|---|
30ffe6fd CS |
1 | diff -urN openssl-0.9.8g.orig/ssl/ssl_algs.c openssl-0.9.8g/ssl/ssl_algs.c |
2 | +++ openssl-0.9.8g/ssl/ssl_algs.c 2007-11-13 19:50:35.356816442 +0100 | |
3 | --- openssl-0.9.8g.orig/ssl/ssl_algs.c 2007-11-13 19:40:02.820770267 +0100 | |
4 | @@ -57,6 +57,7 @@ | |
5 | */ | |
6 | ||
7 | #include <stdio.h> | |
8 | +#include <openssl/engine.h> | |
9 | #include <openssl/objects.h> | |
10 | #include <openssl/lhash.h> | |
11 | #include "ssl_locl.h" | |
12 | @@ -127,6 +128,12 @@ | |
13 | #endif | |
14 | /* initialize cipher/digest methods table */ | |
15 | ssl_load_ciphers(); | |
16 | + | |
17 | + /* Init available hardware crypto engines. */ | |
18 | + ENGINE_load_builtin_engines(); | |
19 | + ENGINE_register_all_complete(); | |
20 | + ENGINE_set_default_ciphers(ENGINE_by_id("padlock")); | |
21 | + | |
22 | return(1); | |
23 | } | |
24 |