comparison 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
comparison
equal deleted inserted replaced
1750:7cb8bc5ce8b9 1751:3b9b427925a0
463 if (num == 0) { 463 if (num == 0) {
464 /* EOF */ 464 /* EOF */
465 TRACE(("leave ident_readln: EOF")) 465 TRACE(("leave ident_readln: EOF"))
466 return -1; 466 return -1;
467 } 467 }
468
469 #ifdef DROPBEAR_FUZZ
470 fuzz_dump(&in, 1);
471 #endif
472
468 if (in == '\n') { 473 if (in == '\n') {
469 /* end of ident string */ 474 /* end of ident string */
470 break; 475 break;
471 } 476 }
472 /* we don't want to include '\r's */ 477 /* we don't want to include '\r's */