fix bad assertion

--HG--
branch : fuzz
This commit is contained in:
Matt Johnston 2018-01-23 23:27:40 +08:00
parent 89bdf3b0b9
commit f7a664f127

View File

@ -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) {