mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user