mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
gchecksum: Fix validity checks for GChecksumType
This fixes the unit tests after commit 3e32350b rearranged the enum order. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=771997
This commit is contained in:
parent
f6db42f698
commit
001245171b
@ -52,7 +52,7 @@
|
||||
* Support for checksums has been added in GLib 2.16
|
||||
**/
|
||||
|
||||
#define IS_VALID_TYPE(type) ((type) >= G_CHECKSUM_MD5 && (type) <= G_CHECKSUM_SHA512)
|
||||
#define IS_VALID_TYPE(type) ((type) >= G_CHECKSUM_MD5 && (type) <= G_CHECKSUM_SHA384)
|
||||
|
||||
/* The fact that these are lower case characters is part of the ABI */
|
||||
static const gchar hex_digits[] = "0123456789abcdef";
|
||||
|
Loading…
x
Reference in New Issue
Block a user