diff fuzz-common.c @ 1353:f3c8975de38e fuzz

setup svr_dropbear_exit
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 May 2017 23:36:54 +0800
parents 2722f2347a48
children 3677a510f545
line wrap: on
line diff
--- a/fuzz-common.c	Sun May 14 00:00:21 2017 +0800
+++ b/fuzz-common.c	Thu May 18 23:36:54 2017 +0800
@@ -6,6 +6,8 @@
 #include "fuzz.h"
 #include "dbutil.h"
 #include "runopts.h"
+#include "crypto_desc.h"
+#include "session.h"
 
 struct dropbear_fuzz_options fuzz;
 
@@ -20,6 +22,9 @@
     struct passwd *pw;
 
     common_setup_fuzzer();
+    
+    _dropbear_exit = svr_dropbear_exit;
+    _dropbear_log = svr_dropbear_log;
 
     char *argv[] = { 
         "-E",