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

@@ -344,7 +344,12 @@ void decrypt_packet() {
if (checkmac() != DROPBEAR_SUCCESS) {
dropbear_exit("Integrity error");
}
}
#if DROPBEAR_FUZZ
fuzz_dump(ses.readbuf->data, ses.readbuf->len);
#endif
/* get padding length */
buf_setpos(ses.readbuf, PACKET_PADDING_OFF);