From f7a664f127d3dfde0e7c7a9ca74b1d14f9a2f983 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 23 Jan 2018 23:27:40 +0800 Subject: [PATCH] fix bad assertion --HG-- branch : fuzz --- fuzz-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz-common.c b/fuzz-common.c index d98043e..b596821 100644 --- a/fuzz-common.c +++ b/fuzz-common.c @@ -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 @@ void fuzz_fake_send_kexdh_reply(void) { 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) {