summaryrefslogtreecommitdiff
path: root/tests/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hmac.c')
-rw-r--r--tests/hmac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hmac.c b/tests/hmac.c
index 5e71f2c9..9d87dbb5 100644
--- a/tests/hmac.c
+++ b/tests/hmac.c
@@ -57,12 +57,12 @@ die (const char *format, ...)
static void
check_one_mac (int algo,
- void *key, size_t keylen,
- void *data, size_t datalen,
- char *expect)
+ const void *key, size_t keylen,
+ const void *data, size_t datalen,
+ const char *expect)
{
gcry_md_hd_t hd;
- char *p;
+ unsigned char *p;
int mdlen;
int i;
gcry_error_t err = 0;