diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-01-23 23:05:47 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-01-23 23:05:47 +0800 |
commit | 89bdf3b0b9376204b039f38f8bebffa92cb30d4e (patch) | |
tree | 5a1a23f5ae301b599d1b0e9ccb23b0dcc3dbc1f4 /svr-kex.c | |
parent | 597f7eb5e921c70545d3f45e2b5e0b19867573e0 (diff) |
add fuzzer-preauth_nomaths
--HG--
branch : fuzz
Diffstat (limited to 'svr-kex.c')
-rw-r--r-- | svr-kex.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -179,6 +179,13 @@ static void send_msg_kexdh_reply(mp_int *dh_e, buffer *ecdh_qs) { } #endif +#ifdef DROPBEAR_FUZZ + if (fuzz.fuzzing && fuzz.skip_kexmaths) { + fuzz_fake_send_kexdh_reply(); + return; + } +#endif + buf_putbyte(ses.writepayload, SSH_MSG_KEXDH_REPLY); buf_put_pub_key(ses.writepayload, svr_opts.hostkey, ses.newkeys->algo_hostkey); |