aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-30 10:28:57 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-30 10:28:57 +0200
commit822c68eb8e06204170a2b0f9641f5886a45d397f (patch)
tree92b0872cc10f949108848309dc6aeb3ab0307ee9 /include/libssh/libssh.h
parent60b92e458e1cf16f0029d9251e0f117ff27a02d0 (diff)
downloadlibssh-822c68eb8e06204170a2b0f9641f5886a45d397f.tar.gz
libssh-822c68eb8e06204170a2b0f9641f5886a45d397f.tar.xz
libssh-822c68eb8e06204170a2b0f9641f5886a45d397f.zip
pki: Use consistent API for ssh_pki_export_privkey_to_pubkey().
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 7873ea79..6aaffdb8 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -449,6 +449,9 @@ 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_export_privkey_to_pubkey(const ssh_key privkey,
+ ssh_key *pkey);
LIBSSH_API int ssh_pki_export_pubkey_base64(const ssh_key key,
char **b64_key);
LIBSSH_API int ssh_pki_export_pubkey_file(const ssh_key key,