summaryrefslogtreecommitdiff
path: root/recipes/curl/files/curl-add_all_algorithms.patch
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-08-20 12:27:31 +0200
committerStefan Schmidt <stefan@datenfreihafen.org>2009-08-20 12:27:31 +0200
commita0ac64bb461533e06f99e865f5b2fc315d033b17 (patch)
tree9fa683112d553e0ab76feccac26f11d4be9ec48b /recipes/curl/files/curl-add_all_algorithms.patch
parentf77a615dee76f1c6d560b69ec8c1a245bd46f39c (diff)
parent6d77f938e950a882ab500392d9d7074a3dcd15ba (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/curl/files/curl-add_all_algorithms.patch')
-rw-r--r--recipes/curl/files/curl-add_all_algorithms.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/curl/files/curl-add_all_algorithms.patch b/recipes/curl/files/curl-add_all_algorithms.patch
new file mode 100644
index 0000000000..a55af12575
--- /dev/null
+++ b/recipes/curl/files/curl-add_all_algorithms.patch
@@ -0,0 +1,22 @@
+--- curl-7.19.5/lib/ssluse.c 2009-01-26 15:36:22.000000000 +0100
++++ curl-7.19.5/lib/ssluse.c 2009-07-23 15:44:12.000000000 +0200
+@@ -58,6 +58,7 @@
+ #ifdef USE_SSLEAY
+
+ #ifdef USE_OPENSSL
++#include <openssl/evp.h>
+ #include <openssl/rand.h>
+ #include <openssl/x509v3.h>
+ #else
+@@ -627,6 +628,11 @@
+ /* Lets get nice error messages */
+ SSL_load_error_strings();
+
++#ifdef USE_OPENSSL
++ /* Load all algorithms (including SHA2) */
++ OpenSSL_add_all_algorithms();
++#endif /* USE_OPENSSL */
++
+ /* Setup all the global SSL stuff */
+ if(!SSLeay_add_ssl_algorithms())
+ return 0;