comparison fuzz/fuzz-common.c @ 1765:b688c884dad7

Fix fuzz-sshpacketmutator to work
author Matt Johnston <matt@ucc.asn.au>
date Mon, 26 Oct 2020 22:52:07 +0800
parents 2406a9987810
children 3e1e1f82eba6
comparison
equal deleted inserted replaced
1764:a339b1c4b9f2 1765:b688c884dad7
43 fprintf(stderr, "Dropbear fuzzer: -v specified, not disabling stderr output\n"); 43 fprintf(stderr, "Dropbear fuzzer: -v specified, not disabling stderr output\n");
44 } 44 }
45 else 45 else
46 #endif 46 #endif
47 { 47 {
48 fprintf(stderr, "Dropbear fuzzer: Disabling stderr output\n"); 48 // fprintf(stderr, "Dropbear fuzzer: Disabling stderr output\n");
49 fuzz.stderr = fopen("/dev/null", "w"); 49 // fuzz.stderr = fopen("/dev/null", "w");
50 assert(fuzz.stderr); 50 // assert(fuzz.stderr);
51 } 51 }
52 } 52 }
53 53
54 int fuzz_set_input(const uint8_t *Data, size_t Size) { 54 int fuzz_set_input(const uint8_t *Data, size_t Size) {
55 55