Mercurial > dropbear
comparison session.h @ 215:aad4b3f58556
rename PubkeyList to SignKeyList for clarity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 08 Jul 2005 11:32:09 +0000 |
parents | 2c5741e4b855 |
children | efbaf6b03837 |
comparison
equal
deleted
inserted
replaced
214:5a75f8a21503 | 215:aad4b3f58556 |
---|---|
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; |
225 | 224 |
226 int winchange; /* Set to 1 when a windowchange signal happens */ | 225 int winchange; /* Set to 1 when a windowchange signal happens */ |
227 | 226 |
228 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, | 227 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, |
229 for the last type of auth we tried */ | 228 for the last type of auth we tried */ |
230 struct PubkeyList *lastpubkey; | 229 struct SignKeyList *lastprivkey; |
231 | 230 |
232 int retval; /* What the command exit status was - we emulate it */ | 231 int retval; /* What the command exit status was - we emulate it */ |
233 #if 0 | 232 #if 0 |
234 TODO | 233 TODO |
235 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ | 234 struct AgentkeyList *agentkeys; /* Keys to use for public-key auth */ |