summaryrefslogtreecommitdiffhomepage
path: root/agentfwd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-25 20:23:02 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-25 20:23:02 +0800
commitc917807b1c89b93b317d56ce2905b5d6d6468a11 (patch)
tree95f642a9aacc8503edc434261ad64a0fc398a01c /agentfwd.h
parent701d43b8594365b55421e8bc4c53efa920c09ed5 (diff)
rsa-sha256 for ssh-agent
Diffstat (limited to 'agentfwd.h')
-rw-r--r--agentfwd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/agentfwd.h b/agentfwd.h
index eb12d7a..d913aea 100644
--- a/agentfwd.h
+++ b/agentfwd.h
@@ -32,6 +32,9 @@
#if DROPBEAR_CLI_AGENTFWD
+/* From OpenSSH authfd.h */
+#define SSH_AGENT_RSA_SHA2_256 0x02
+
/* An agent reply can be reasonably large, as it can
* contain a list of all public keys held by the agent.
* 10000 is arbitrary */
@@ -40,7 +43,7 @@
/* client functions */
void cli_load_agent_keys(m_list * ret_list);
void agent_buf_sign(buffer *sigblob, sign_key *key,
- const buffer *data_buf);
+ const buffer *data_buf, enum signature_type type);
void cli_setup_agent(const struct Channel *channel);
#ifdef __hpux