aboutsummaryrefslogtreecommitdiff
path: root/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests.c')
-rw-r--r--tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.c b/tests.c
index 29392e8..29e4089 100644
--- a/tests.c
+++ b/tests.c
@@ -260,12 +260,12 @@ static const struct {
sha ## size ## _init(&ctx); \
\
for (size_t j = 0; j < SHA ## size ## _TESTS[i].n; j++) { \
- sha ## size ## _push(&ctx, (const uint8_t *) s, l); \
+ sha ## size ## _push(&ctx, s, l); \
} \
\
sha ## size ## _fini(&ctx, hash); \
} else { \
- sha ## size((const uint8_t *) s, strlen(s), hash); \
+ sha ## size(s, strlen(s), hash); \
} \
\
if (memcmp(hash, SHA ## size ## _TESTS[i].h, sizeof(hash))) { \