diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 00:24:02 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-26 00:24:02 +0800 |
commit | d277f140ba37472640c63cae4ce2dafa4799ddfc (patch) | |
tree | 54c3b1ee46efbc8fe11222ce2853a64688a269c6 /session.h | |
parent | 61267f85035c0c77059992f50ef20f62e192ba04 (diff) | |
parent | c917807b1c89b93b317d56ce2905b5d6d6468a11 (diff) |
merge rsa-sha256
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -102,7 +102,8 @@ struct key_context { struct key_context_directional trans; const struct dropbear_kex *algo_kex; - int algo_hostkey; + enum signkey_type algo_hostkey; /* server key type */ + enum signature_type algo_signature; /* server signature type */ int allow_compress; /* whether compression has started (useful in zlib@openssh.com delayed compression case) */ @@ -194,6 +195,9 @@ struct sshsession { /* Enables/disables compression */ algo_type *compress_algos; + + /* Other side allows SSH_MSG_EXT_INFO. Currently only set for server */ + int allow_ext_info; /* a list of queued replies that should be sent after a KEX has concluded (ie, while dataallowed was unset)*/ @@ -259,13 +263,12 @@ struct serversession { #endif #if DROPBEAR_PLUGIN - /* The shared library handle */ - void *plugin_handle; + /* The shared library handle */ + void *plugin_handle; - /* The instance created by the plugin_new function */ - struct PluginInstance *plugin_instance; + /* The instance created by the plugin_new function */ + struct PluginInstance *plugin_instance; #endif - }; typedef enum { @@ -294,7 +297,6 @@ struct clientsession { 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 */ int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */ struct termios saved_tio; @@ -322,6 +324,8 @@ struct clientsession { #endif sign_key *lastprivkey; + buffer *server_sig_algs; + int retval; /* What the command exit status was - we emulate it */ #if 0 TODO |