pki: Use consistent API for ssh_pki_export_pubkey_blob().

This commit is contained in:
Andreas Schneider
2011-08-30 10:16:53 +02:00
parent e236577503
commit 60b92e458e
7 changed files with 45 additions and 23 deletions

View File

@@ -75,7 +75,8 @@ int ssh_pki_signature_verify_blob(ssh_session session,
size_t dlen);
/* SSH Public Key Functions */
ssh_string ssh_pki_export_pubkey_blob(const ssh_key key);
int ssh_pki_export_pubkey_blob(const ssh_key key,
ssh_string *pblob);
int ssh_pki_import_pubkey_blob(const ssh_string key_blob,
ssh_key *pkey);