summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-19 00:31:41 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-19 00:31:41 +0800
commit5acee497bf3e44d86bdecf5bfa35042c363ab753 (patch)
tree8576a44683dda3c007bfec6b48831f2c31268044 /session.h
parent972d723484d89c71e73ed63cc17bb2a6ce8cca5a (diff)
ext-info handling for server-sig-algs
only client side is handled
Diffstat (limited to 'session.h')
-rw-r--r--session.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/session.h b/session.h
index cbe9cb5..1059537 100644
--- a/session.h
+++ b/session.h
@@ -185,6 +185,9 @@ struct sshsession {
/* Enables/disables compression */
algo_type *compress_algos;
+
+ /* Other side allows SSH_MSG_EXT_INFO */
+ int allow_ext_info;
/* a list of queued replies that should be sent after a KEX has
concluded (ie, while dataallowed was unset)*/
@@ -313,13 +316,7 @@ struct clientsession {
#endif
sign_key *lastprivkey;
- enum signature_type server_sig_algs[DROPBEAR_SIGNKEY_NUM_NAMED+1];
- int server_sig_algs_count;
-#if DROPBEAR_RSA
- /* Set to DROPBEAR_SIGNATURE_RSA_SHA256 or DROPBEAR_SIGNATURE_RSA_SHA1
- if depending which the server accepts */
- enum signature_type preferred_rsa_sigtype;
-#endif
+ buffer *server_sig_algs;
int retval; /* What the command exit status was - we emulate it */
#if 0