changeset 1457:32f990cc96b1 fuzz

fix bad assertion
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 23:27:40 +0800
parents a90fdd2d2ed8
children 5916af64acd4
files fuzz-common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fuzz-common.c	Tue Jan 23 23:05:47 2018 +0800
+++ b/fuzz-common.c	Tue Jan 23 23:27:40 2018 +0800
@@ -7,6 +7,7 @@
 #include "crypto_desc.h"
 #include "session.h"
 #include "dbrandom.h"
+#include "bignum.h"
 #include "fuzz-wrapfd.h"
 
 struct dropbear_fuzz_options fuzz;
@@ -137,7 +138,6 @@
     m_mp_alloc_init_multi(&ses.dh_K, NULL);
     mp_set_int(ses.dh_K, 12345678);
     finish_kexhashbuf();
-    assert(!ses.dh_K);
 }
 
 int fuzz_run_preauth(const uint8_t *Data, size_t Size, int skip_kexmaths) {