aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-26 09:51:02 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-26 09:51:02 +0200
commit7457937bab8553379b470366456ebcdfb76aaf40 (patch)
tree817ded94fda31e315e339c39ba1624528b63b50e /include/libssh/pki_priv.h
parentb5db04003da54badc86fd279b9c7f6f8d613af39 (diff)
downloadlibssh-7457937bab8553379b470366456ebcdfb76aaf40.tar.gz
libssh-7457937bab8553379b470366456ebcdfb76aaf40.tar.xz
libssh-7457937bab8553379b470366456ebcdfb76aaf40.zip
pki: Migrate ssh_pki_do_sign to new pki.
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 3e1ef5dc..b6d312b9 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -62,8 +62,9 @@ int pki_signature_verify(ssh_session session,
size_t len);
/* SSH Signing Functions */
-struct signature_struct *pki_do_sign(const ssh_key privatekey,
- const unsigned char *hash);
+ssh_signature pki_do_sign(const ssh_key privkey,
+ const unsigned char *hash,
+ size_t hlen);
ssh_signature pki_do_sign_sessionid(const ssh_key key,
const unsigned char *hash);
#endif /* PKI_PRIV_H_ */