diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-08-10 19:45:33 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-08-10 19:45:33 -0700 |
commit | 08020ed71ffccfd2893ba869e73e3a169a5ae068 (patch) | |
tree | 9c329dd0d52bad0d2e0c5fa5726a6dc6dcffeae2 /recipes/curl | |
parent | 19a190ca2bedf9a8d017f3c5fb163d51d0b3a828 (diff) | |
parent | 0d3f61c8280b329f573ded891fad573f666379db (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/curl')
-rw-r--r-- | recipes/curl/curl_7.19.5.bb | 5 | ||||
-rw-r--r-- | recipes/curl/files/curl-add_all_algorithms.patch | 22 |
2 files changed, 25 insertions, 2 deletions
diff --git a/recipes/curl/curl_7.19.5.bb b/recipes/curl/curl_7.19.5.bb index df83fe8c0a..b5b6182e8d 100644 --- a/recipes/curl/curl_7.19.5.bb +++ b/recipes/curl/curl_7.19.5.bb @@ -1,5 +1,6 @@ require curl-common.inc require curl-target.inc -SRC_URI += "file://off_t_abi_fix.patch;patch=1;pnum=0" -PR = "r0" +SRC_URI += "file://off_t_abi_fix.patch;patch=1;pnum=0 \ + file://curl-add_all_algorithms.patch;patch=1" +PR = "r1" 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; |