~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to session.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
        mp_int *dh_e, *dh_x; /* Used during KEX */
212
212
        cli_kex_state kex_state; /* Used for progressing KEX */
213
213
        cli_state state; /* Used to progress auth/channelsession etc */
214
 
        int something; /* XXX */
215
214
        unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */
216
215
 
217
216
        int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */
218
217
        struct termios saved_tio;
219
218
        int stdincopy;
220
219
        int stdinflags;
 
220
        int stdoutcopy;
 
221
        int stdoutflags;
 
222
        int stderrcopy;
 
223
        int stderrflags;
221
224
 
222
225
        int winchange; /* Set to 1 when a windowchange signal happens */
223
226
 
224
227
        int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
225
228
                                                 for the last type of auth we tried */
226
 
        struct PubkeyList *lastpubkey;
 
229
#ifdef ENABLE_CLI_INTERACT_AUTH
 
230
        int auth_interact_failed; /* flag whether interactive auth can still
 
231
                                                                 be used */
 
232
        int interact_request_received; /* flag whether we've received an 
 
233
                                                                          info request from the server for
 
234
                                                                          interactive auth.*/
 
235
#endif
 
236
        struct SignKeyList *lastprivkey;
227
237
 
228
238
        int retval; /* What the command exit status was - we emulate it */
229
239
#if 0