aboutsummaryrefslogtreecommitdiff
path: root/src/bind.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/bind.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/bind.c')
-rw-r--r--src/bind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bind.c b/src/bind.c
index 0dd1ebb5..7a2f049b 100644
--- a/src/bind.c
+++ b/src/bind.c
@@ -309,7 +309,7 @@ int ssh_bind_accept(ssh_bind sshbind, ssh_session session) {
}
if (sshbind->dsakey) {
- rc = ssh_key_import_private(session, sshbind->dsakey, NULL, &dsa);
+ rc = ssh_pki_import_privkey_file(session, sshbind->dsakey, NULL, &dsa);
if (rc == SSH_ERROR) {
return SSH_ERROR;
}
@@ -321,7 +321,7 @@ int ssh_bind_accept(ssh_bind sshbind, ssh_session session) {
}
if (sshbind->rsakey) {
- rc = ssh_key_import_private(session, sshbind->rsakey, NULL, &rsa);
+ rc = ssh_pki_import_privkey_file(session, sshbind->rsakey, NULL, &rsa);
if (rc == SSH_ERROR) {
return SSH_ERROR;
}