mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 04:26:16 +02:00
patch causes problems on some platforms, nuke it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11904 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b04550ce48
commit
5548622183
@ -1,28 +0,0 @@
|
||||
--- openssl-0.9.8h/ssl/ssl_algs.c 2007-04-24 01:50:21.000000000 +0200
|
||||
+++ openssl-0.9.8h-ocf/ssl/ssl_algs.c 2008-07-12 17:34:27.000000000 +0200
|
||||
@@ -57,6 +57,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#ifndef OPENSSL_NO_ENGINE
|
||||
+#include <openssl/engine.h>
|
||||
+#endif
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/lhash.h>
|
||||
#include "ssl_locl.h"
|
||||
@@ -127,6 +130,15 @@
|
||||
#endif
|
||||
/* initialize cipher/digest methods table */
|
||||
ssl_load_ciphers();
|
||||
+
|
||||
+#ifndef OPENSSL_NO_ENGINE
|
||||
+ /* Initialize available hardware crypto engines */
|
||||
+ ENGINE_load_builtin_engines();
|
||||
+ ENGINE_register_all_complete();
|
||||
+ /* ...and set cryptodev to be the default. */
|
||||
+ ENGINE_set_default_ciphers(ENGINE_by_id("cryptodev"));
|
||||
+#endif
|
||||
+
|
||||
return(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user