From 60b92e458e1cf16f0029d9251e0f117ff27a02d0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 30 Aug 2011 10:16:53 +0200 Subject: pki: Use consistent API for ssh_pki_export_pubkey_blob(). --- include/libssh/pki.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 0d89821..77106b4 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -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); -- cgit