summaryrefslogtreecommitdiffstats
path: root/src/legacy.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-09 18:05:47 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-09 18:05:47 +0200
commit9c0af42dd8a4b7a8280e030b6dac8daf79afff40 (patch)
tree45ae984740ce4bf53f72878e5bdc998c680ab1d8 /src/legacy.c
parentbec483bc1874909be8fd9c8fbc909f53be5ba27a (diff)
downloadlibssh-9c0af42dd8a4b7a8280e030b6dac8daf79afff40.tar.gz
libssh-9c0af42dd8a4b7a8280e030b6dac8daf79afff40.tar.xz
libssh-9c0af42dd8a4b7a8280e030b6dac8daf79afff40.zip
pki: Use a consistent name scheme.
Rename ssh_key_import_private to ssh_pki_import_privkey_file.
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy.c b/src/legacy.c
index ee74b34..ee5f896 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -274,7 +274,7 @@ ssh_private_key privatekey_from_file(ssh_session session,
(void) type; /* unused */
- rc = ssh_key_import_private(session, filename, passphrase, &key);
+ rc = ssh_pki_import_privkey_file(session, filename, passphrase, &key);
if (rc == SSH_ERROR) {
return NULL;
}