aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-22 13:48:25 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-22 13:48:25 +0200
commit79ffd49940a526d647320c9b7ca6b26f3693e8ba (patch)
treeddf360c9cce0efda78634aaa13e600c216cc49eb /include/libssh/pki.h
parenta2e08697b1a24066c9870fe4bd61133de7f2663c (diff)
downloadlibssh-79ffd49940a526d647320c9b7ca6b26f3693e8ba.tar.gz
libssh-79ffd49940a526d647320c9b7ca6b26f3693e8ba.tar.xz
libssh-79ffd49940a526d647320c9b7ca6b26f3693e8ba.zip
pki: Add ssh_srv_pki_do_sign_sessionid().
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index ce7d5007..29041920 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -83,6 +83,8 @@ ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
ssh_string ssh_pki_do_sign_agent(ssh_session session,
struct ssh_buffer_struct *buf,
const ssh_key pubkey);
+ssh_string ssh_srv_pki_do_sign_sessionid(ssh_session session,
+ const ssh_key privkey);
/* Temporary functions, to be removed after migration to ssh_key */
ssh_public_key ssh_pki_convert_key_to_publickey(ssh_key key);