Quellcode durchsuchen

librhash: Remove source fragments not needed for CMake

Extend commit 53048afa8d (librhash: Remove source fragments not needed
for CMake, 2016-11-03, v3.8.0-rc1~262^2~9) for fragments new after
updating to librhash 1.4.4.
Brad King vor 2 Jahren
Ursprung
Commit
33e9e3438c
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0 4
      Utilities/cmlibrhash/librhash/algorithms.c

+ 0 - 4
Utilities/cmlibrhash/librhash/algorithms.c

@@ -306,8 +306,6 @@ size_t rhash_export_alg(unsigned hash_id, const void* ctx, void* out, size_t siz
 	{
 		case RHASH_TTH:
 			return rhash_tth_export((const tth_ctx*)ctx, out, size);
-		case RHASH_BTIH:
-			return bt_export((const torrent_ctx*)ctx, out, size);
 		case RHASH_AICH:
 			return rhash_aich_export((const aich_ctx*)ctx, out, size);
 	}
@@ -329,8 +327,6 @@ size_t rhash_import_alg(unsigned hash_id, void* ctx, const void* in, size_t size
 	{
 		case RHASH_TTH:
 			return rhash_tth_import((tth_ctx*)ctx, in, size);
-		case RHASH_BTIH:
-			return bt_import((torrent_ctx*)ctx, in, size);
 		case RHASH_AICH:
 			return rhash_aich_import((aich_ctx*)ctx, in, size);
 	}