From 9569d053d8f419ebd7fcdecd2c6e18ff86e34c86 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 7 Aug 2011 14:00:42 +0200 Subject: pki: Improve ssh_pki_import_privkey_base64(). --- include/libssh/pki.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libssh/pki.h') diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 463f614f..32e084f4 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -59,4 +59,7 @@ ssh_public_key ssh_pki_convert_key_to_publickey(ssh_key key); 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); #endif /* PKI_H_ */ -- cgit