1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

pki: Use a consistent name scheme.

Rename ssh_key_import_private to ssh_pki_import_privkey_file.
This commit is contained in:
Andreas Schneider
2011-08-09 18:05:47 +02:00
parent bec483bc18
commit 9c0af42dd8
4 changed files with 21 additions and 13 deletions

View File

@@ -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;
}