diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-21 21:49:24 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-21 21:49:24 +0800 |
commit | 05f4e29a52ff806620b1f80ab59797ac1bc8415d (patch) | |
tree | 78653f0534a2bf838fc8c61f5c9821f3fad8b037 /fuzz-common.c | |
parent | dbc052099291a313295170c67bb122d85f889be7 (diff) |
The fuzzer has managed to generated DSS key/signature pairs that
verify. Avoid false positives from bogus keys that wouldn't be used
--HG--
branch : fuzz
Diffstat (limited to 'fuzz-common.c')
-rw-r--r-- | fuzz-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz-common.c b/fuzz-common.c index b596821..8403a7b 100644 --- a/fuzz-common.c +++ b/fuzz-common.c @@ -22,6 +22,8 @@ void fuzz_common_setup(void) { fuzz.input = m_malloc(sizeof(buffer)); _dropbear_log = fuzz_dropbear_log; crypto_init(); + /* let any messages get flushed */ + setlinebuf(stdout); } int fuzz_set_input(const uint8_t *Data, size_t Size) { |