diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-30 10:16:53 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-30 10:16:53 +0200 |
commit | 60b92e458e1cf16f0029d9251e0f117ff27a02d0 (patch) | |
tree | 1f099e92f170a4aa3d921efc7adbd5a22f75627a /include | |
parent | e2365775030fa3c696e1f75997d5bc856a19e3ed (diff) | |
download | libssh-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.h | 3 |
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); |