From: Michael Tremer Date: Thu, 6 Feb 2025 16:19:53 +0000 (+0000) Subject: file: Re-enable parsing checksums again X-Git-Tag: 0.9.30~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b0125462e4daedf382d99eb07e9816c6a51888c;p=pakfire.git file: Re-enable parsing checksums again Signed-off-by: Michael Tremer --- 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) {