]> git.ipfire.org Git - pakfire.git/commitdiff
packager: Disable sha256 checksums
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2021 18:05:45 +0000 (18:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2021 18:05:45 +0000 (18:05 +0000)
We are only storing one type now, so there is no point in even computing
the other one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/packager.c

index 19583f1ada21bb5ff1e0c73c6e12a5562883cb6b..9fd72ac1a37aa9eef2d667798a0bf7ee1f39880f 100644 (file)
@@ -207,7 +207,6 @@ static int pakfire_packager_create_payload(struct pakfire_packager* p) {
 
                // Enable cryptographic checksums
                "sha512",
-               "sha256",
 
                NULL,
        };
@@ -823,7 +822,6 @@ int pakfire_packager_finish(struct pakfire_packager* packager, FILE* f) {
 
                // Add the checksums
                "sha512",
-               "sha256",
 
                NULL,
        };