patch-src_osirisd_scanner_c 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- osiris-4.2.3.orig/src/osirisd/scanner.c 2006-07-28 01:57:51.000000000 +0200
  3. +++ osiris-4.2.3/src/osirisd/scanner.c 2009-05-10 20:43:04.000000000 +0200
  4. @@ -839,12 +839,14 @@ void populate_scan_record( SCANNER *scan
  5. MAX_CHECKSUM_LENGTH );
  6. break;
  7. +#ifndef OPENSSL_NO_RIPEMD
  8. case HASH_RIPEMD:
  9. rc = hash_file_ripemd( scan_record->path, file_handle,
  10. scan_record->checksum,
  11. MAX_CHECKSUM_LENGTH );
  12. break;
  13. +#endif
  14. default:
  15. @@ -987,12 +989,14 @@ void populate_scan_record( SCANNER *scan
  16. MAX_CHECKSUM_LENGTH );
  17. break;
  18. +#ifndef OPENSSL_NO_RIPEMD
  19. case HASH_RIPEMD:
  20. rc = hash_file_ripemd( scan_record->path, file_handle,
  21. scan_record->checksum,
  22. MAX_CHECKSUM_LENGTH );
  23. break;
  24. +#endif
  25. default: