From 50bde9976b7ef51a7cd4f00cf9734387aa4ce33e Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sun, 21 May 2017 18:53:44 +0800 Subject: [PATCH] seed_fuzz() prototype --HG-- branch : fuzz --- dbrandom.h | 3 +++ fuzzer-preauth.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dbrandom.h b/dbrandom.h index 6bfb866..4ccd622 100644 --- a/dbrandom.h +++ b/dbrandom.h @@ -31,5 +31,8 @@ void seedrandom(void); void genrandom(unsigned char* buf, unsigned int len); void addrandom(unsigned char * buf, unsigned int len); void gen_random_mpint(mp_int *max, mp_int *rand); +#ifdef DROPBEAR_FUZZ +void seedfuzz(void); +#endif #endif /* DROPBEAR_RANDOM_H_ */ diff --git a/fuzzer-preauth.c b/fuzzer-preauth.c index 7f0e136..e1340da 100644 --- a/fuzzer-preauth.c +++ b/fuzzer-preauth.c @@ -1,5 +1,4 @@ #include "fuzz.h" -#include "dbrandom.h" #include "session.h" #include "fuzz-wrapfd.h" #include "debug.h"