diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-07-22 08:01:35 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2008-07-22 08:01:35 +0000 |
commit | 3ff4b7ee10b8d8d356ad8c0c900e71224649fcfa (patch) | |
tree | 79ee1754ece5fa653c18265085ca49d9aaa56c4f /package/openssl/patches/210-use_cryptodev_by_default_if_available.patch | |
parent | 9f43812a07ea2f43f3c50cf06b49828eb2afb32a (diff) | |
download | mtk-20170518-3ff4b7ee10b8d8d356ad8c0c900e71224649fcfa.zip mtk-20170518-3ff4b7ee10b8d8d356ad8c0c900e71224649fcfa.tar.gz mtk-20170518-3ff4b7ee10b8d8d356ad8c0c900e71224649fcfa.tar.bz2 |
patch causes problems on some platforms, nuke it
SVN-Revision: 11904
Diffstat (limited to 'package/openssl/patches/210-use_cryptodev_by_default_if_available.patch')
-rw-r--r-- | package/openssl/patches/210-use_cryptodev_by_default_if_available.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/package/openssl/patches/210-use_cryptodev_by_default_if_available.patch b/package/openssl/patches/210-use_cryptodev_by_default_if_available.patch deleted file mode 100644 index 6bcb786..0000000 --- a/package/openssl/patches/210-use_cryptodev_by_default_if_available.patch +++ /dev/null @@ -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); - } - |