summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-07 16:56:33 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-08 15:28:31 +0200
commit36ee2d3332cd44de5ea9916a82f26d9ac5134d42 (patch)
tree14ef0e455d40805c9de0cd390fbb402974a29f51 /include/libssh/pki.h
parentf55cd7de431018bc1799aa9616006569d90f0fcc (diff)
downloadlibssh-36ee2d3332cd44de5ea9916a82f26d9ac5134d42.tar.gz
libssh-36ee2d3332cd44de5ea9916a82f26d9ac5134d42.tar.xz
libssh-36ee2d3332cd44de5ea9916a82f26d9ac5134d42.zip
pki: Create pki_publickey_from_privatekey().
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index dd62989..f7ce4cc 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -60,5 +60,6 @@ enum ssh_keytypes_e pki_privatekey_type_from_string(const char *privkey);
ssh_key pki_private_key_from_base64(ssh_session session,
const char *b64_key,
const char *passphrase);
+ssh_key pki_publickey_from_privatekey(ssh_key privkey);
#endif /* PKI_H_ */