mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
pki: Use a consistent name scheme.
Rename ssh_key_import_private to ssh_pki_import_privkey_file.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user