diff common-session.c @ 1751:3b9b427925a0

Load password and key for client fuzzer. Add fuzz_dump()
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Oct 2020 23:34:38 +0800
parents 3974f087d9c0
children 36e77a51d5e4
line wrap: on
line diff
--- a/common-session.c	Tue Oct 20 23:33:45 2020 +0800
+++ b/common-session.c	Tue Oct 20 23:34:38 2020 +0800
@@ -465,6 +465,11 @@
 				TRACE(("leave ident_readln: EOF"))
 				return -1;
 			}
+
+#ifdef DROPBEAR_FUZZ
+			fuzz_dump(&in, 1);
+#endif
+
 			if (in == '\n') {
 				/* end of ident string */
 				break;