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
This commit is contained in:
Matt Johnston
2018-02-21 21:49:24 +08:00
parent dbc0520992
commit 05f4e29a52
2 changed files with 24 additions and 2 deletions

View File

@@ -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) {