#include <pakfire/util.h>
#include <pakfire/xfer.h>
+#define METADATA_DIGESTS PAKFIRE_DIGEST_SHA3_512|PAKFIRE_DIGEST_BLAKE2B512
+
// Refresh mirror lists once every 6 hours
#define REFRESH_AGE_MIRRORLIST 6 * 3600
goto ERROR;
// Compute the database digests
- r = pakfire_digests_compute_from_path(self->ctx, &digests, PAKFIRE_DIGESTS_ALL, path);
+ r = pakfire_digests_compute_from_path(self->ctx, &digests, METADATA_DIGESTS, path);
if (r < 0) {
ERROR(self->ctx, "Failed to compute file digests: %s\n", strerror(-r));
goto ERROR;