pki: Rename ssh_pki_import_pubkey_string and make it public.

It should be named ssh_pki_import_pubkey_blob().
This commit is contained in:
Andreas Schneider
2011-08-15 20:42:26 +02:00
parent 714fa8960d
commit 6c1b508efd
4 changed files with 12 additions and 11 deletions

View File

@@ -387,7 +387,7 @@ struct ssh_public_key_struct *agent_get_next_ident(struct ssh_session_struct *se
ssh_string_free(tmp);
/* get key from blob */
rc = ssh_pki_import_pubkey_string(session, blob, &key);
rc = ssh_pki_import_pubkey_blob(session, blob, &key);
ssh_string_free(blob);
if (rc == SSH_ERROR) {
return NULL;