summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-02-19 18:03:37 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-02-24 16:38:08 +0000
commitfdf14e9e6cbd2e373988d7b9e913788a58c63388 (patch)
tree8b2c702d73f73fb026ff1bb841fdf8f1b5f82e1f /glib
parent393503ba5bdc7c09cd46b716aaf3d2c63a6c7f9c (diff)
hmac: Make unit test const-correct
https://bugzilla.gnome.org/show_bug.cgi?id=724741
Diffstat (limited to 'glib')
-rw-r--r--glib/tests/hmac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/tests/hmac.c b/glib/tests/hmac.c
index f6ee643b1..2a434db42 100644
--- a/glib/tests/hmac.c
+++ b/glib/tests/hmac.c
@@ -156,11 +156,11 @@ guint8 result_sha1_test7[] = {
typedef struct {
GChecksumType digest_type;
- gpointer key;
+ gconstpointer key;
gsize key_len;
- gpointer data;
+ gconstpointer data;
gsize data_len;
- gpointer result;
+ gconstpointer result;
} HmacCase;
HmacCase hmac_md5_tests[] = {