comparison fuzz-common.c @ 1385:6c92e97553f1 fuzz

Add a flag whether to longjmp, missed that last commit
author Matt Johnston <matt@ucc.asn.au>
date Thu, 01 Jun 2017 21:30:26 +0800
parents f03cfe9c76ac
children f0990c284663
comparison
equal deleted inserted replaced
1384:ecdd4e8ae427 1385:6c92e97553f1
15 static void load_fixed_hostkeys(void); 15 static void load_fixed_hostkeys(void);
16 16
17 void common_setup_fuzzer(void) { 17 void common_setup_fuzzer(void) {
18 fuzz.fuzzing = 1; 18 fuzz.fuzzing = 1;
19 fuzz.wrapfds = 1; 19 fuzz.wrapfds = 1;
20 fuzz.do_jmp = 1;
20 fuzz.input = m_malloc(sizeof(buffer)); 21 fuzz.input = m_malloc(sizeof(buffer));
21 _dropbear_log = fuzz_dropbear_log; 22 _dropbear_log = fuzz_dropbear_log;
22 crypto_init(); 23 crypto_init();
23 } 24 }
24 25