summaryrefslogtreecommitdiffstats
path: root/libssh/keyfiles.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-20 07:26:50 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-20 07:26:50 +0000
commit9704df65e3adc6eea7c8b70e366d63ec0a3cd478 (patch)
tree3e0fb9f3adbc8fdea4190b96dee80799cf9107ae /libssh/keyfiles.c
parenta3c820cf948c25afd36c85a2302ecfdeb82a0cf4 (diff)
downloadlibssh-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/keyfiles.c')
-rw-r--r--libssh/keyfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index 51b99e8..bb0af82 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -603,7 +603,7 @@ static int pem_get_password(char *buf, int size, int rwflag, void *userdata) {
* \param type Type of the private key. One of TYPE_DSS or TYPE_RSA.
* \param passphrase Passphrase to decrypt the private key. Set to null if none is needed or it is unknown.
* \returns a PRIVATE_KEY object containing the private key, or NULL if it failed.
- * \see private_key_free()
+ * \see privatekey_free()
* \see publickey_from_privatekey()
*/
PRIVATE_KEY *privatekey_from_file(SSH_SESSION *session, const char *filename,
@@ -779,7 +779,7 @@ PRIVATE_KEY *_privatekey_from_file(void *session, const char *filename,
/** \brief deallocate a private key
* \param prv a PRIVATE_KEY object
*/
-void private_key_free(PRIVATE_KEY *prv) {
+void privatekey_free(PRIVATE_KEY *prv) {
if (prv == NULL) {
return;
}