From 9704df65e3adc6eea7c8b70e366d63ec0a3cd478 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 20 Apr 2009 07:26:50 +0000 Subject: Rename privatekey_free() to be consistent with publickey_free(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@563 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libssh/auth.c') diff --git a/libssh/auth.c b/libssh/auth.c index 105272c..99c2d05 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -360,7 +360,7 @@ error: * SSH_AUTH_SUCCESS : Authentication success * \see publickey_from_file() * \see privatekey_from_file() - * \see private_key_free() + * \see privatekey_free() * \see ssh_userauth_offer_pubkey() */ @@ -471,7 +471,7 @@ error: * SSH_AUTH_SUCCESS : Authentication success * \see publickey_from_file() * \see privatekey_from_file() - * \see private_key_free() + * \see privatekey_free() * \see ssh_userauth_offer_pubkey() */ @@ -865,7 +865,7 @@ int ssh_userauth_autopubkey(SSH_SESSION *session, const char *passphrase) { } free(pubkey); free(privkeyfile); - private_key_free(privkey); + privatekey_free(privkey); leave_function(); return err; } else @@ -877,14 +877,14 @@ int ssh_userauth_autopubkey(SSH_SESSION *session, const char *passphrase) { pubkey=NULL; free(privkeyfile); privkeyfile=NULL; - private_key_free(privkey); + privatekey_free(privkey); continue; } /* auth success */ ssh_log(session, SSH_LOG_RARE, "Authentication using %s success\n", privkeyfile); free(pubkey); - private_key_free(privkey); + privatekey_free(privkey); free(privkeyfile); if(id){ pub_keys_path[0]=NULL; -- cgit