From 6cf29061c2513ac9bff5c68da8b98744cde25f40 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 29 Oct 2020 22:14:38 +0800 Subject: Fix FUZZ_NO_REPLACE_STDERR for fuzz.c --- fuzz/fuzz-common.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'fuzz') 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); -- cgit v1.2.3