aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-03-09 13:44:51 +0100
committermilo <milo@r0ot.me>2011-04-14 14:05:44 +0200
commit269485397953ae588b130219138ae07d17d14034 (patch)
tree80bdca955d45281a27243c2cdffbb3f7967b2eed /include
parent69d2457762e1c910bd762bcb02a7f759f55fef8c (diff)
downloadlibssh-269485397953ae588b130219138ae07d17d14034.tar.gz
libssh-269485397953ae588b130219138ae07d17d14034.tar.xz
libssh-269485397953ae588b130219138ae07d17d14034.zip
[pki] Added ssh_pki_publickey_from_privatekey() function
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 1f593459..9d023c8c 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -47,4 +47,7 @@ enum ssh_keytypes_e ssh_key_type(ssh_key key);
int ssh_key_import_private(ssh_key key, ssh_session session,
const char *filename, const char *passphrase);
+ssh_key ssh_pki_publickey_from_privatekey(ssh_key privkey);
+
+
#endif /* PKI_H_ */