From f049304895451ca66c5990fba5c3a217a6bb77d8 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 4 Jun 2019 12:01:51 +0200 Subject: [PATCH] Removes warnings for unused parameters --- tests/fuzz/fuzz_client.c | 1 + tests/fuzz/fuzz_dtlsclient.c | 1 + tests/fuzz/fuzz_dtlsserver.c | 1 + tests/fuzz/fuzz_server.c | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/fuzz/fuzz_client.c b/tests/fuzz/fuzz_client.c index 7860177a1..2f439f599 100644 --- a/tests/fuzz/fuzz_client.c +++ b/tests/fuzz/fuzz_client.c @@ -78,6 +78,7 @@ static int dummy_random( void *p_rng, unsigned char *output, size_t output_len ) static int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; + (void) data; //use mbedtls_entropy_func to find bugs in it //test performance impact of entropy diff --git a/tests/fuzz/fuzz_dtlsclient.c b/tests/fuzz/fuzz_dtlsclient.c index c88b33b73..424af8111 100644 --- a/tests/fuzz/fuzz_dtlsclient.c +++ b/tests/fuzz/fuzz_dtlsclient.c @@ -79,6 +79,7 @@ static int dummy_random( void *p_rng, unsigned char *output, size_t output_len ) static int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; + (void) data; //use mbedtls_entropy_func to find bugs in it //test performance impact of entropy diff --git a/tests/fuzz/fuzz_dtlsserver.c b/tests/fuzz/fuzz_dtlsserver.c index 6e59a85a7..6f31bfbe2 100644 --- a/tests/fuzz/fuzz_dtlsserver.c +++ b/tests/fuzz/fuzz_dtlsserver.c @@ -80,6 +80,7 @@ static int dummy_random( void *p_rng, unsigned char *output, size_t output_len ) static int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; + (void) data; //use mbedtls_entropy_func to find bugs in it //test performance impact of entropy diff --git a/tests/fuzz/fuzz_server.c b/tests/fuzz/fuzz_server.c index 770a38633..f8882dd85 100644 --- a/tests/fuzz/fuzz_server.c +++ b/tests/fuzz/fuzz_server.c @@ -79,6 +79,7 @@ static int dummy_random( void *p_rng, unsigned char *output, size_t output_len ) static int dummy_entropy( void *data, unsigned char *output, size_t len ) { size_t i; + (void) data; //use mbedtls_entropy_func to find bugs in it //test performance impact of entropy