summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/session.h b/session.h
index a4ad45f..559fe29 100644
--- a/session.h
+++ b/session.h
@@ -123,7 +123,8 @@ struct sshsession {
unsigned char lastpacket; /* What the last received packet type was */
-
+ int signal_pipe[2]; /* stores endpoints of a self-pipe used for
+ race-free signal handling */
/* KEX/encryption related */
struct KEXState kexstate;
@@ -189,8 +190,7 @@ typedef enum {
KEX_NOTHING,
KEXINIT_RCVD,
KEXDH_INIT_SENT,
- KEXDONE,
-
+ KEXDONE
} cli_kex_state;
typedef enum {
@@ -202,8 +202,7 @@ typedef enum {
USERAUTH_REQ_SENT,
USERAUTH_FAIL_RCVD,
USERAUTH_SUCCESS_RCVD,
- SESSION_RUNNING,
-
+ SESSION_RUNNING
} cli_state;
struct clientsession {