patch-src_libosiris_configuration_c 700 B

123456789101112131415161718192021222324252627
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- osiris-4.2.3.orig/src/libosiris/configuration.c 2006-07-28 01:57:51.000000000 +0200
  3. +++ osiris-4.2.3/src/libosiris/configuration.c 2009-05-10 21:06:49.000000000 +0200
  4. @@ -105,9 +105,11 @@ static struct keywords hash_keywords[] =
  5. { "sha1", HASH_SHA },
  6. { "sha-1", HASH_SHA },
  7. +#ifndef OPENSSL_NO_RIPEMD
  8. { "ripemd", HASH_RIPEMD },
  9. { "ripemd-160", HASH_RIPEMD },
  10. { "ripemd160", HASH_RIPEMD },
  11. +#endif
  12. { NULL, 0 }
  13. };
  14. @@ -119,9 +121,11 @@ static char * valid_hash_values[] =
  15. "sha",
  16. "sha1",
  17. "sha-1",
  18. +#ifndef OPENSSL_NO_RIPEMD
  19. "ripemd",
  20. "ripemd160",
  21. "ripemd-160",
  22. +#endif
  23. NULL
  24. };