diff options
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r-- | include/libssh/pki_priv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h index 3e1ef5d..b6d312b 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_ */ |