summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-03 00:32:55 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-03 00:32:55 +0800
commit7a320179658cd58d802a03b5c0c579f728ac044d (patch)
tree0ada7a633179d8a694a390d374db0a64099c2ef1 /session.h
parentb1ce9d265db80cc4313dfe098573a6b02e6c6580 (diff)
downloaddropbear-7a320179658cd58d802a03b5c0c579f728ac044d.tar.gz
Don't usually need to recalculate dh_e for the repeated kexdh_init packet
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index 33c1539..9bbeac4 100644
--- a/session.h
+++ b/session.h
@@ -241,6 +241,7 @@ typedef enum {
struct clientsession {
mp_int *dh_e, *dh_x; /* Used during KEX */
+ int dh_val_algo; /* KEX algorithm corresponding to current dh_e and dh_x */
cli_kex_state kex_state; /* Used for progressing KEX */
cli_state state; /* Used to progress auth/channelsession etc */
unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */