pki: Rename ssh_pki_publickey_to_string and make it public.

This commit is contained in:
Andreas Schneider
2011-08-15 20:47:12 +02:00
parent 6c1b508efd
commit 3f70bce373
3 changed files with 7 additions and 4 deletions

View File

@@ -440,6 +440,7 @@ LIBSSH_API int ssh_pki_import_pubkey_base64(ssh_session session,
LIBSSH_API int ssh_pki_import_pubkey_blob(ssh_session session,
const ssh_string key_blob,
ssh_key *pkey);
LIBSSH_API ssh_string ssh_pki_publickey_to_blob(const ssh_key key);
LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username,
ssh_string publickey, ssh_key privatekey);