[glib] hmac: Make unit test const-correct
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] hmac: Make unit test const-correct
- Date: Mon, 24 Feb 2014 16:38:27 +0000 (UTC)
commit fdf14e9e6cbd2e373988d7b9e913788a58c63388
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Feb 19 18:03:37 2014 +0000
hmac: Make unit test const-correct
https://bugzilla.gnome.org/show_bug.cgi?id=724741
glib/tests/hmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/tests/hmac.c b/glib/tests/hmac.c
index f6ee643..2a434db 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[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]