summaryrefslogtreecommitdiffhomepage
path: root/fuzz-common.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-23 22:43:34 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-23 22:43:34 +0800
commit0363d3c32e08d0c2d5ed0035a1b045259677f319 (patch)
treee1f283e117ce9c15e59a58e79656e249d35b20fb /fuzz-common.c
parenta582c4cdb60dbba5c34e33c0e434bdc52f09ad2c (diff)
fuzzer-pubkey
--HG-- branch : fuzz
Diffstat (limited to 'fuzz-common.c')
-rw-r--r--fuzz-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz-common.c b/fuzz-common.c
index 144bf14..42f6aab 100644
--- a/fuzz-common.c
+++ b/fuzz-common.c
@@ -13,7 +13,7 @@ struct dropbear_fuzz_options fuzz;
static void load_fixed_hostkeys(void);
-static void common_setup_fuzzer(void) {
+void common_setup_fuzzer(void) {
fuzz.fuzzing = 1;
fuzz.wrapfds = 1;
fuzz.input = m_malloc(sizeof(buffer));
@@ -47,7 +47,7 @@ int fuzzer_set_input(const uint8_t *Data, size_t Size) {
uint32_t wrapseed = buf_getint(fuzz.input);
wrapfd_setup(wrapseed);
- seedfuzz();
+ fuzz_seed();
return DROPBEAR_SUCCESS;
}