summaryrefslogtreecommitdiffhomepage
path: root/fuzz
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-29 22:14:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-29 22:14:38 +0800
commit6cf29061c2513ac9bff5c68da8b98744cde25f40 (patch)
tree6952cd877c947c45579b131b6a45c0e3c7b79765 /fuzz
parentf92f0777deade6ad3debb9ff55dc677d597ab808 (diff)
Fix FUZZ_NO_REPLACE_STDERR for fuzz.c
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/fuzz-common.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/fuzz/fuzz-common.c b/fuzz/fuzz-common.c
index a147710..20f4287 100644
--- a/fuzz/fuzz-common.c
+++ b/fuzz/fuzz-common.c
@@ -1,3 +1,4 @@
+#define FUZZ_NO_REPLACE_STDERR
#include "includes.h"
#include "includes.h"
@@ -9,16 +10,8 @@
#include "bignum.h"
#include "atomicio.h"
#include "fuzz-wrapfd.h"
-
-#define FUZZ_NO_REPLACE_STDERR
#include "fuzz.h"
-/* fuzz.h redefines stderr, we don't want that here */
-#ifdef origstderr
-#undef stderr
-#define stderr origstderr
-#endif // origstderr
-
struct dropbear_fuzz_options fuzz;
static void fuzz_dropbear_log(int UNUSED(priority), const char* format, va_list param);