mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
hmac: Make unit test const-correct
https://bugzilla.gnome.org/show_bug.cgi?id=724741
This commit is contained in:
@@ -156,11 +156,11 @@ guint8 result_sha1_test7[] = {
|
|||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
GChecksumType digest_type;
|
GChecksumType digest_type;
|
||||||
gpointer key;
|
gconstpointer key;
|
||||||
gsize key_len;
|
gsize key_len;
|
||||||
gpointer data;
|
gconstpointer data;
|
||||||
gsize data_len;
|
gsize data_len;
|
||||||
gpointer result;
|
gconstpointer result;
|
||||||
} HmacCase;
|
} HmacCase;
|
||||||
|
|
||||||
HmacCase hmac_md5_tests[] = {
|
HmacCase hmac_md5_tests[] = {
|
||||||
|
Reference in New Issue
Block a user