From 90d3768f0fb7f89c5b114e5e996edc6deb9123b8 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 1 Feb 2014 16:35:13 +0100 Subject: 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 Conflicts: tests/client/torture_knownhosts.c --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index b3f6ae4b..7cb7cf36 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -503,6 +503,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, -- cgit