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

@@ -437,6 +437,9 @@ LIBSSH_API int ssh_pki_import_pubkey_base64(ssh_session session,
const char *b64_key,
enum ssh_keytypes_e type,
ssh_key *pkey);
LIBSSH_API int ssh_pki_import_pubkey_blob(ssh_session session,
const ssh_string key_blob,
ssh_key *pkey);
LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username,
ssh_string publickey, ssh_key privatekey);