Mercurial > dropbear
diff cli-session.c @ 746:465fefc4f6e0 kexguess
Put some #ifdef options around first-follows options in case they
need to be disabled
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 03 Apr 2013 00:43:31 +0800 |
parents | 15999b098cc9 |
children | 077bbe1eb220 |
line wrap: on
line diff
--- a/cli-session.c Wed Apr 03 00:32:55 2013 +0800 +++ b/cli-session.c Wed Apr 03 00:43:31 2013 +0800 @@ -110,11 +110,12 @@ } +#ifdef USE_KEX_FIRST_FOLLOWS static void cli_send_kex_first_guess() { send_msg_kexdh_init(); dropbear_log(LOG_INFO, "kexdh_init guess sent"); - //cli_ses.kex_state = KEXDH_INIT_SENT; } +#endif static void cli_session_init() { @@ -155,7 +156,9 @@ ses.isserver = 0; +#ifdef USE_KEX_FIRST_FOLLOWS ses.send_kex_first_guess = cli_send_kex_first_guess; +#endif }