diff options
Diffstat (limited to 'package/osiris/patches/patch-src_libosiris_ssl_utilities_c')
-rw-r--r-- | package/osiris/patches/patch-src_libosiris_ssl_utilities_c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/osiris/patches/patch-src_libosiris_ssl_utilities_c b/package/osiris/patches/patch-src_libosiris_ssl_utilities_c new file mode 100644 index 000000000..47563591b --- /dev/null +++ b/package/osiris/patches/patch-src_libosiris_ssl_utilities_c @@ -0,0 +1,30 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- osiris-4.2.3.orig/src/libosiris/ssl_utilities.c 2006-07-28 01:57:51.000000000 +0200 ++++ osiris-4.2.3/src/libosiris/ssl_utilities.c 2009-05-10 20:41:31.000000000 +0200 +@@ -51,7 +51,9 @@ + #include <openssl/rand.h> + #include <openssl/md5.h> + #include <openssl/sha.h> ++#ifndef OPENSSL_NO_RIPEMD + #include <openssl/ripemd.h> ++#endif + + #ifdef WIN32 + #include <winsock.h> +@@ -337,6 +339,7 @@ int hash_file_sha( const char *file_path + return -1; + } + ++#ifndef OPENSSL_NO_RIPEMD + /****************************************************************************** + ** + ** Function: hash_file_ripemd +@@ -433,7 +436,7 @@ int hash_file_ripemd( const char *file_p + + return -1; + } +- ++#endif + + /****************************************************************************** + ** |