# HG changeset patch # User Matt Johnston # Date 1495364024 -28800 # Node ID 17104db7928c0678f0a37ff5d26f82ffe377669c # Parent b2f295125ed6f278c9c0cea7c1e6c038db567d23 seed_fuzz() prototype diff -r b2f295125ed6 -r 17104db7928c dbrandom.h --- a/dbrandom.h Sun May 21 18:53:33 2017 +0800 +++ b/dbrandom.h Sun May 21 18:53:44 2017 +0800 @@ -31,5 +31,8 @@ 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 -r b2f295125ed6 -r 17104db7928c fuzzer-preauth.c --- a/fuzzer-preauth.c Sun May 21 18:53:33 2017 +0800 +++ b/fuzzer-preauth.c Sun May 21 18:53:44 2017 +0800 @@ -1,5 +1,4 @@ #include "fuzz.h" -#include "dbrandom.h" #include "session.h" #include "fuzz-wrapfd.h" #include "debug.h"