diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-20 07:26:50 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-20 07:26:50 +0000 |
commit | 9704df65e3adc6eea7c8b70e366d63ec0a3cd478 (patch) | |
tree | 3e0fb9f3adbc8fdea4190b96dee80799cf9107ae /libssh/auth.c | |
parent | a3c820cf948c25afd36c85a2302ecfdeb82a0cf4 (diff) | |
download | libssh-9704df65e3adc6eea7c8b70e366d63ec0a3cd478.tar.gz libssh-9704df65e3adc6eea7c8b70e366d63ec0a3cd478.tar.xz libssh-9704df65e3adc6eea7c8b70e366d63ec0a3cd478.zip |
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
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |