From 23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 24 Jul 2009 22:08:04 +0200 Subject: Change PRIVATE_KEY * to ssh_private_key --- libssh/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libssh/auth.c') 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; -- cgit