diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-07 16:56:33 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-08 15:28:31 +0200 |
commit | 36ee2d3332cd44de5ea9916a82f26d9ac5134d42 (patch) | |
tree | 14ef0e455d40805c9de0cd390fbb402974a29f51 /include/libssh/pki.h | |
parent | f55cd7de431018bc1799aa9616006569d90f0fcc (diff) | |
download | libssh-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.h | 1 |
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_ */ |