diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 22:15:05 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 23:04:25 +0200 |
commit | 1a0fbedc2e7bc688ce380bbb465a5e1710355666 (patch) | |
tree | 3b6782150c8824829a4cbfc6cf66adf19f04cafa /include/libssh/libssh.h | |
parent | 254c30be2e97812a892c96210491720d63538994 (diff) | |
download | libssh-1a0fbedc2e7bc688ce380bbb465a5e1710355666.tar.gz libssh-1a0fbedc2e7bc688ce380bbb465a5e1710355666.tar.xz libssh-1a0fbedc2e7bc688ce380bbb465a5e1710355666.zip |
pki: Fix and rename ssh_pki_publickey_to_base64().
Rename it to ssh_pki_export_publickey_base64().
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 80121b7..12c52cb 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -457,9 +457,8 @@ LIBSSH_API int ssh_pki_import_pubkey_base64(const char *b64_key, ssh_key *pkey); LIBSSH_API int ssh_pki_import_pubkey_file(const char *filename, ssh_key *pkey); -LIBSSH_API int ssh_pki_publickey_to_base64(const ssh_key key, - unsigned char **b64_key, - enum ssh_keytypes_e *ptype); +LIBSSH_API int ssh_pki_export_publickey_base64(const ssh_key key, + char **b64_key); LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username, ssh_string publickey, ssh_key privatekey); |