Mercurial > dropbear
comparison session.h @ 219:654bc8327787
merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb
and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 08 Jul 2005 13:28:03 +0000 |
parents | aad4b3f58556 |
children | efbaf6b03837 |
comparison
equal
deleted
inserted
replaced
218:3ee0c2f85e1e | 219:654bc8327787 |
---|---|
209 struct clientsession { | 209 struct clientsession { |
210 | 210 |
211 mp_int *dh_e, *dh_x; /* Used during KEX */ | 211 mp_int *dh_e, *dh_x; /* Used during KEX */ |
212 cli_kex_state kex_state; /* Used for progressing KEX */ | 212 cli_kex_state kex_state; /* Used for progressing KEX */ |
213 cli_state state; /* Used to progress auth/channelsession etc */ | 213 cli_state state; /* Used to progress auth/channelsession etc */ |
214 int something; /* XXX */ | |
215 unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */ | 214 unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */ |
216 | 215 |
217 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */ | 216 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */ |
218 struct termios saved_tio; | 217 struct termios saved_tio; |
219 int stdincopy; | 218 int stdincopy; |
220 int stdinflags; | 219 int stdinflags; |
220 int stdoutcopy; | |
221 int stdoutflags; | |
222 int stderrcopy; | |
223 int stderrflags; | |
221 | 224 |
222 int winchange; /* Set to 1 when a windowchange signal happens */ | 225 int winchange; /* Set to 1 when a windowchange signal happens */ |
223 | 226 |
224 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, | 227 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, |
225 for the last type of auth we tried */ | 228 for the last type of auth we tried */ |
226 struct PubkeyList *lastpubkey; | 229 struct SignKeyList *lastprivkey; |
227 | 230 |
228 int retval; /* What the command exit status was - we emulate it */ | 231 int retval; /* What the command exit status was - we emulate it */ |
229 #if 0 | 232 #if 0 |
230 TODO | 233 TODO |
231 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ | 234 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ |