Mercurial > dropbear
diff fuzz-common.c @ 1529:66a1a2547133 fuzz
The fuzzer has managed to generated DSS key/signature pairs that
verify. Avoid false positives from bogus keys that wouldn't be used
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 21 Feb 2018 21:49:24 +0800 |
parents | 32f990cc96b1 |
children | 2f64cb3d3007 |
line wrap: on
line diff
--- a/fuzz-common.c Wed Feb 21 21:03:42 2018 +0800 +++ b/fuzz-common.c Wed Feb 21 21:49:24 2018 +0800 @@ -22,6 +22,8 @@ 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) {