summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-30 10:16:53 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-30 10:16:53 +0200
commit60b92e458e1cf16f0029d9251e0f117ff27a02d0 (patch)
tree1f099e92f170a4aa3d921efc7adbd5a22f75627a /include
parente2365775030fa3c696e1f75997d5bc856a19e3ed (diff)
downloadlibssh-60b92e458e1cf16f0029d9251e0f117ff27a02d0.tar.gz
libssh-60b92e458e1cf16f0029d9251e0f117ff27a02d0.tar.xz
libssh-60b92e458e1cf16f0029d9251e0f117ff27a02d0.zip
pki: Use consistent API for ssh_pki_export_pubkey_blob().
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 0d898217..77106b43 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);