浏览代码

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 2 年之前
父节点
当前提交
33e9e3438c
共有 1 个文件被更改,包括 0 次插入4 次删除
  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);
 	}