Load password and key for client fuzzer.

Add fuzz_dump()
This commit is contained in:
Matt Johnston
2020-10-20 23:34:38 +08:00
parent 3b400bd64e
commit 1a7b944917
5 changed files with 60 additions and 9 deletions

View File

@@ -465,6 +465,11 @@ static int ident_readln(int fd, char* buf, int count) {
TRACE(("leave ident_readln: EOF"))
return -1;
}
#ifdef DROPBEAR_FUZZ
fuzz_dump(&in, 1);
#endif
if (in == '\n') {
/* end of ident string */
break;