aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-22 09:42:48 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-22 10:20:14 +0200
commit5e7b15e2c15e39899b9be5a2e25461d003f88b07 (patch)
treee2c9578fdb232eca0bda6bdeb27ecf01262433ed /include
parent20312e23b75b52258d0505e08f342b5c8a47bd9f (diff)
downloadlibssh-5e7b15e2c15e39899b9be5a2e25461d003f88b07.tar.gz
libssh-5e7b15e2c15e39899b9be5a2e25461d003f88b07.tar.xz
libssh-5e7b15e2c15e39899b9be5a2e25461d003f88b07.zip
pki: Fix declaration of ssh_pki_convert functions.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 566700b8..96bacd52 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -108,7 +108,7 @@ int ssh_pki_export_pubkey_rsa1(const ssh_key key,
/* SSH Signing Functions */
ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
- ssh_key privatekey);
+ const ssh_key privatekey);
ssh_string ssh_pki_do_sign_agent(ssh_session session,
struct ssh_buffer_struct *buf,
const ssh_key pubkey);
@@ -116,7 +116,7 @@ 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);
-ssh_private_key ssh_pki_convert_key_to_privatekey(ssh_key key);
+ssh_public_key ssh_pki_convert_key_to_publickey(const ssh_key key);
+ssh_private_key ssh_pki_convert_key_to_privatekey(const ssh_key key);
#endif /* PKI_H_ */