diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2020-01-24 23:12:07 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2020-01-25 12:15:28 +0100 |
commit | f38cc1ae4336ce10715b7b9719ce41e22fdd5349 (patch) | |
tree | 9f7e6b42f6dc578c96f5c0f10945a74ecc7514b7 /fuzz | |
parent | 9bf69f837c979fb850d2ff4afa492611073ea366 (diff) | |
download | gnutls-f38cc1ae4336ce10715b7b9719ce41e22fdd5349.tar.gz |
fuzz: fixed Ed448 fuzzer traces
The fuzzer files for ed448 were the reverse for client and server.
Enhanced the fuzzer tools to run a single fuzzer, and added more
clear documentation on how to generate and manually test the fuzzer
outputs.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/gnutls_client_fuzzer.c | 2 | ||||
-rw-r--r-- | fuzz/gnutls_client_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd (renamed from fuzz/gnutls_server_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd) | bin | 1731 -> 1731 bytes | |||
-rw-r--r-- | fuzz/gnutls_server_fuzzer.c | 2 | ||||
-rw-r--r-- | fuzz/gnutls_server_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845 (renamed from fuzz/gnutls_client_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845) | bin | 430 -> 430 bytes |
4 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/gnutls_client_fuzzer.c b/fuzz/gnutls_client_fuzzer.c index f5c969d990..b68cdb6d7c 100644 --- a/fuzz/gnutls_client_fuzzer.c +++ b/fuzz/gnutls_client_fuzzer.c @@ -46,7 +46,7 @@ int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) assert(res >= 0); /*res = gnutls_set_default_priority(session);*/ - res = gnutls_priority_set_direct(session, "NORMAL:"VERS_STR, NULL); + res = gnutls_priority_set_direct(session, "NORMAL:+SIGN-EDDSA-ED448:"VERS_STR, NULL); assert(res >= 0); memdata.data = data; diff --git a/fuzz/gnutls_server_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd b/fuzz/gnutls_client_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd Binary files differindex feceb0a220..feceb0a220 100644 --- a/fuzz/gnutls_server_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd +++ b/fuzz/gnutls_client_fuzzer.in/96c552adcacf4108c319533ea61c33f4240ad0fd diff --git a/fuzz/gnutls_server_fuzzer.c b/fuzz/gnutls_server_fuzzer.c index d42d27420f..c42ff21efa 100644 --- a/fuzz/gnutls_server_fuzzer.c +++ b/fuzz/gnutls_server_fuzzer.c @@ -91,7 +91,7 @@ int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size) assert(res >= 0); /*res = gnutls_set_default_priority(session);*/ - res = gnutls_priority_set_direct(session, "NORMAL:"VERS_STR, NULL); + res = gnutls_priority_set_direct(session, "NORMAL:+SIGN-EDDSA-ED448:"VERS_STR, NULL); assert(res >= 0); memdata.data = data; diff --git a/fuzz/gnutls_client_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845 b/fuzz/gnutls_server_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845 Binary files differindex 45eede51d0..45eede51d0 100644 --- a/fuzz/gnutls_client_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845 +++ b/fuzz/gnutls_server_fuzzer.in/5ef0df17445fb4098d15536a1195a47cb55b6845 |