summaryrefslogtreecommitdiff
path: root/package/osiris/patches/patch-src_libosiris_configuration_c
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/osiris/patches/patch-src_libosiris_configuration_c
Initial import
Diffstat (limited to 'package/osiris/patches/patch-src_libosiris_configuration_c')
-rw-r--r--package/osiris/patches/patch-src_libosiris_configuration_c27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/osiris/patches/patch-src_libosiris_configuration_c b/package/osiris/patches/patch-src_libosiris_configuration_c
new file mode 100644
index 000000000..f4b164b52
--- /dev/null
+++ b/package/osiris/patches/patch-src_libosiris_configuration_c
@@ -0,0 +1,27 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- osiris-4.2.3.orig/src/libosiris/configuration.c 2006-07-28 01:57:51.000000000 +0200
++++ osiris-4.2.3/src/libosiris/configuration.c 2009-05-10 21:06:49.000000000 +0200
+@@ -105,9 +105,11 @@ static struct keywords hash_keywords[] =
+ { "sha1", HASH_SHA },
+ { "sha-1", HASH_SHA },
+
++#ifndef OPENSSL_NO_RIPEMD
+ { "ripemd", HASH_RIPEMD },
+ { "ripemd-160", HASH_RIPEMD },
+ { "ripemd160", HASH_RIPEMD },
++#endif
+
+ { NULL, 0 }
+ };
+@@ -119,9 +121,11 @@ static char * valid_hash_values[] =
+ "sha",
+ "sha1",
+ "sha-1",
++#ifndef OPENSSL_NO_RIPEMD
+ "ripemd",
+ "ripemd160",
+ "ripemd-160",
++#endif
+ NULL
+ };
+