# HG changeset patch # User Matt Johnston # Date 1603980878 -28800 # Node ID 66b29b054896560ca3202821743f5405d1fc361a # Parent 0e178f767ada9a0cc93f4d2e512a11981409ca09 Fix FUZZ_NO_REPLACE_STDERR for fuzz.c diff -r 0e178f767ada -r 66b29b054896 fuzz/fuzz-common.c --- a/fuzz/fuzz-common.c Thu Oct 29 21:51:41 2020 +0800 +++ b/fuzz/fuzz-common.c Thu Oct 29 22:14:38 2020 +0800 @@ -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);