diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2014-02-01 16:35:13 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2014-02-01 16:42:29 +0100 |
commit | c433ac02bdfb5ec8d9a16074794be587cced59c1 (patch) | |
tree | 4cc01035d110b428b70e5bd4870bf78c7f8c3671 /include | |
parent | 1c24a0508f6fdd30257003b874327772320c5ee0 (diff) | |
download | libssh-c433ac02bdfb5ec8d9a16074794be587cced59c1.tar.gz libssh-c433ac02bdfb5ec8d9a16074794be587cced59c1.tar.xz libssh-c433ac02bdfb5ec8d9a16074794be587cced59c1.zip |
known_hosts: add ssh_knownhosts_algorithms()
Goal of that function is to test the preferred key exchange methods
based on what's available in the known_hosts file
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index a34e9ee4..b85960ff 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -517,6 +517,7 @@ LIBSSH_API int ssh_key_cmp(const ssh_key k1, const ssh_key k2, enum ssh_keycmp_e what); +LIBSSH_API int ssh_knownhosts_algorithms(ssh_session session); LIBSSH_API int ssh_pki_generate(enum ssh_keytypes_e type, int parameter, ssh_key *pkey); LIBSSH_API int ssh_pki_import_privkey_base64(const char *b64_key, |