summaryrefslogtreecommitdiff
path: root/package/osiris/patches/patch-src_libosiris_ssl_utilities_c
blob: 47563591b7e28148bdaf266ec01cd83f39faf0e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
 
 /******************************************************************************
 **