From 50bde9976b7ef51a7cd4f00cf9734387aa4ce33e Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
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 6bfb8666..4ccd6224 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 7f0e1365..e1340da0 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"
-- 
GitLab