summaryrefslogtreecommitdiff
path: root/tests/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/register.c')
-rw-r--r--tests/register.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/register.c b/tests/register.c
index 1181beb9..49686017 100644
--- a/tests/register.c
+++ b/tests/register.c
@@ -45,6 +45,10 @@ die (const char *format, ...)
gcry_err_code_t
foo_setkey (void *c, const unsigned char *key, unsigned keylen)
{
+ (void)c;
+ (void)key;
+ (void)keylen;
+
return 0;
}
@@ -55,6 +59,8 @@ foo_encrypt (void *c, unsigned char *outbuf, const unsigned char *inbuf)
{
int i;
+ (void)c;
+
for (i = 0; i < FOO_BLOCKSIZE; i++)
outbuf[i] = inbuf[i] ^ 0x42;
}
@@ -64,6 +70,8 @@ foo_decrypt (void *c, unsigned char *outbuf, const unsigned char *inbuf)
{
int i;
+ (void)c;
+
for (i = 0; i < FOO_BLOCKSIZE; i++)
outbuf[i] = inbuf[i] ^ 0x42;
}