summaryrefslogtreecommitdiff
path: root/tests/hmac.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-02-21 13:26:38 +0000
committerWerner Koch <wk@gnupg.org>2007-02-21 13:26:38 +0000
commit56d370e0084511d9f9d706d0bcf2e3375b46ca25 (patch)
treedb028f7ec619291d6ed5ee5929f58bf835fa4ff3 /tests/hmac.c
parentbfb2b7eaf2808d7ba17914b91c00bfc02b4ec6c2 (diff)
downloadlibgcrypt-56d370e0084511d9f9d706d0bcf2e3375b46ca25.tar.gz
A lot of cleanups as well as minor API changes.
Ported some changes from 1.2 to here.
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;