aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-21 13:43:20 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-21 13:43:20 +0200
commit1b57445f6b9c850a97e69a122537e918de0e02c5 (patch)
tree192131488f547809486ada434129923dd4fe5cf6 /include
parentaf82d8dfabc73fdf6477c2da521f2ba23deb2ca5 (diff)
downloadlibssh-1b57445f6b9c850a97e69a122537e918de0e02c5.tar.gz
libssh-1b57445f6b9c850a97e69a122537e918de0e02c5.tar.xz
libssh-1b57445f6b9c850a97e69a122537e918de0e02c5.zip
pki: Add ssh_pki_do_sign_agent().
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 9b1625cd..ce7d5007 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -80,6 +80,9 @@ ssh_key ssh_pki_publickey_from_privatekey(const ssh_key privkey);
/* SSH Signing Functions */
ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
ssh_key privatekey);
+ssh_string ssh_pki_do_sign_agent(ssh_session session,
+ struct ssh_buffer_struct *buf,
+ const ssh_key pubkey);
/* Temporary functions, to be removed after migration to ssh_key */
ssh_public_key ssh_pki_convert_key_to_publickey(ssh_key key);