From 6b0125462e4daedf382d99eb07e9816c6a51888c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 6 Feb 2025 16:19:53 +0000 Subject: [PATCH] file: Re-enable parsing checksums again Signed-off-by: Michael Tremer --- src/pakfire/file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pakfire/file.c b/src/pakfire/file.c index b4f1ae87..1e1736da 100644 --- a/src/pakfire/file.c +++ b/src/pakfire/file.c @@ -323,7 +323,6 @@ static int pakfire_file_from_archive_entry(struct pakfire_file* file, struct arc if (r) goto ERROR; -#if 0 // Digest: SHA-3-512 } else if (strcmp(attr, "PAKFIRE.digests.sha3_512") == 0) { r = pakfire_file_set_checksum(file, PAKFIRE_HASH_SHA3_512, value, size); @@ -359,7 +358,6 @@ static int pakfire_file_from_archive_entry(struct pakfire_file* file, struct arc r = pakfire_file_set_checksum(file, PAKFIRE_HASH_SHA2_256, value, size); if (r < 0) goto ERROR; -#endif // Capabilities } else if (strcmp(attr, "security.capability") == 0) { -- 2.39.5