comparison session.h @ 745:15999b098cc9 kexguess

Don't usually need to recalculate dh_e for the repeated kexdh_init packet
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Apr 2013 00:32:55 +0800
parents 09c5eb71ec96
children 077bbe1eb220
comparison
equal deleted inserted replaced
744:504f33c684b5 745:15999b098cc9
239 } cli_state; 239 } cli_state;
240 240
241 struct clientsession { 241 struct clientsession {
242 242
243 mp_int *dh_e, *dh_x; /* Used during KEX */ 243 mp_int *dh_e, *dh_x; /* Used during KEX */
244 int dh_val_algo; /* KEX algorithm corresponding to current dh_e and dh_x */
244 cli_kex_state kex_state; /* Used for progressing KEX */ 245 cli_kex_state kex_state; /* Used for progressing KEX */
245 cli_state state; /* Used to progress auth/channelsession etc */ 246 cli_state state; /* Used to progress auth/channelsession etc */
246 unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */ 247 unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */
247 248
248 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */ 249 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */