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.
This commit is contained in:
Brad King
2023-11-28 17:55:52 -05:00
parent 15bb13bc51
commit 33e9e3438c

View File

@@ -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);
}