From: Michael Tremer Date: Sun, 17 Jul 2022 12:35:29 +0000 (+0000) Subject: digests: Renumber them X-Git-Tag: 0.9.28~699 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af192dc7b52d5d4bdede7a1698cc4ca9d17a057b;p=pakfire.git digests: Renumber them There is no need to use them as bitfields. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/include/pakfire/pakfire.h b/src/libpakfire/include/pakfire/pakfire.h index b901b8d50..c971c49e2 100644 --- a/src/libpakfire/include/pakfire/pakfire.h +++ b/src/libpakfire/include/pakfire/pakfire.h @@ -31,9 +31,9 @@ struct pakfire; enum pakfire_digests { PAKFIRE_DIGEST_NONE = 0, - PAKFIRE_DIGEST_SHA1 = 1 << 0, - PAKFIRE_DIGEST_SHA256 = 1 << 1, - PAKFIRE_DIGEST_SHA512 = 1 << 2, + PAKFIRE_DIGEST_SHA1 = 1, + PAKFIRE_DIGEST_SHA256 = 2, + PAKFIRE_DIGEST_SHA512 = 3, }; #include