summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-07 15:00:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-08 15:28:31 +0200
commitf55cd7de431018bc1799aa9616006569d90f0fcc (patch)
tree9b5ba494a2c88090306067ebf58c0c25b196eae2 /include/libssh/pki.h
parent9569d053d8f419ebd7fcdecd2c6e18ff86e34c86 (diff)
downloadlibssh-f55cd7de431018bc1799aa9616006569d90f0fcc.tar.gz
libssh-f55cd7de431018bc1799aa9616006569d90f0fcc.tar.xz
libssh-f55cd7de431018bc1799aa9616006569d90f0fcc.zip
pki: Improve ssh_key_import_private().
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 32e084f..dd62989 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -47,8 +47,6 @@ struct ssh_key_struct {
};
void ssh_key_clean (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);
ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
@@ -62,4 +60,5 @@ 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_ */