aboutsummaryrefslogtreecommitdiff
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:08:04 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-07-24 22:08:04 +0200
commit23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60 (patch)
tree599f9e62ed88cc8da1124cfd48ef79046473fecc /libssh/auth.c
parentc041bcc6d9b86b06c9323b0824db2d3346023e4c (diff)
downloadlibssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.tar.gz
libssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.tar.xz
libssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.zip
Change PRIVATE_KEY * to ssh_private_key
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 9765124..80d978f 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -418,7 +418,7 @@ error:
* @see ssh_userauth_offer_pubkey()
*/
int ssh_userauth_pubkey(SSH_SESSION *session, const char *username,
- ssh_string publickey, PRIVATE_KEY *privatekey) {
+ ssh_string publickey, ssh_private_key privatekey) {
ssh_string user = NULL;
ssh_string service = NULL;
ssh_string method = NULL;
@@ -797,7 +797,7 @@ static struct ssh_keys_struct keytab[] = {
int ssh_userauth_autopubkey(SSH_SESSION *session, const char *passphrase) {
struct ssh_public_key_struct *publickey;
ssh_string pubkey;
- PRIVATE_KEY *privkey;
+ ssh_private_key privkey;
char *privkeyfile = NULL;
char *id = NULL;
size_t size;