summaryrefslogtreecommitdiffstats
path: root/include/libssh/agent.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-21 13:42:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-21 13:42:49 +0200
commitaf82d8dfabc73fdf6477c2da521f2ba23deb2ca5 (patch)
tree43d79385166748d6d10177ddf4a5693ce5a37526 /include/libssh/agent.h
parenta98301d2b09be81e4299e1d5b1adaf25ecdb59fe (diff)
downloadlibssh-af82d8dfabc73fdf6477c2da521f2ba23deb2ca5.tar.gz
libssh-af82d8dfabc73fdf6477c2da521f2ba23deb2ca5.tar.xz
libssh-af82d8dfabc73fdf6477c2da521f2ba23deb2ca5.zip
agent: Add ssh_agent_sign_data().
Diffstat (limited to 'include/libssh/agent.h')
-rw-r--r--include/libssh/agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/agent.h b/include/libssh/agent.h
index b620b33..2a0f229 100644
--- a/include/libssh/agent.h
+++ b/include/libssh/agent.h
@@ -91,6 +91,9 @@ struct ssh_public_key_struct *agent_get_first_ident(struct ssh_session_struct *s
ssh_string agent_sign_data(struct ssh_session_struct *session,
struct ssh_buffer_struct *data,
struct ssh_public_key_struct *pubkey);
+ssh_string ssh_agent_sign_data(ssh_session session,
+ const ssh_key pubkey,
+ struct ssh_buffer_struct *data);
#endif
#endif /* __AGENT_H */