diff --git a/dbrandom.h b/dbrandom.h index 6bfb866602ad3fc06fa80dbc73c9bd9b7650ea86..4ccd6224787b4fc30ded5df834e73a363e02ab03 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 7f0e1365bf6794b27fe2ed7e1c027f103eafed94..e1340da0b1cfcaa2810c7a07e3ee66f5886148ae 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"