diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-16 23:36:20 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-09-18 20:34:15 +0200 |
commit | 07abc3406df3b6b37471e10e495efb79003f5679 (patch) | |
tree | 73b635f912977b6d3cf5c8e3830d527eb3aef1ed /include/libssh/session.h | |
parent | 1b10b175fcd5c6f205168434cc5f6aca51b1d298 (diff) | |
download | libssh-07abc3406df3b6b37471e10e495efb79003f5679.tar.gz libssh-07abc3406df3b6b37471e10e495efb79003f5679.tar.xz libssh-07abc3406df3b6b37471e10e495efb79003f5679.zip |
kex: split key selection and sending
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r-- | include/libssh/session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h index a1b2a79..ac2ca76 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -27,6 +27,7 @@ #include "libssh/auth.h" #include "libssh/channels.h" #include "libssh/poll.h" +#include "libssh/kex.h" /* These are the different states a SSH session can be into its life */ enum ssh_session_state_e { @@ -122,8 +123,11 @@ struct ssh_session_struct { struct ssh_agent_state_struct *agent_state; struct ssh_auth_auto_state_struct *auth_auto_state; + /* kex sent by server, client, and mutually elected methods */ KEX server_kex; KEX client_kex; + char *kex_methods[SSH_KEX_METHODS]; + ssh_buffer in_hashbuf; ssh_buffer out_hashbuf; struct ssh_crypto_struct *current_crypto; |