aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/test.c b/test.c
index 7908dd4..21c0f27 100644
--- a/test.c
+++ b/test.c
@@ -214,7 +214,14 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize,
ssize_t r;
int status;
+ (void) msgsize;
+ (void) testno;
+ (void) test_lineno;
+ (void) path;
+
if (keylen) {
+ (void) key;
+ (void) keysize;
/* KEY OPTION IS NOT YET IMPLEMENTED */
*outlen = hashlen;
if (*outsize < hashlen) {
@@ -248,7 +255,7 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize,
ERROR("Internal test error: %s\n", strerror(errno));
close(output_pipe[1]);
}
- execv(argv[0], (void *const)argv);
+ execv(argv[0], *(char ***)(void *)&argv);
ERROR("Internal test error: %s\n", strerror(errno));
/* $covered}$ */