aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libssh.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2014-02-01 16:35:13 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2014-02-04 16:01:02 +0100
commit90d3768f0fb7f89c5b114e5e996edc6deb9123b8 (patch)
tree2c9ae46b4b5382e26f38599a3b79045dd8cdc0e9 /include/libssh/libssh.h
parent6f66032209cc5893ba942f5cf9201492ce8c4bb3 (diff)
downloadlibssh-90d3768f0fb7f89c5b114e5e996edc6deb9123b8.tar.gz
libssh-90d3768f0fb7f89c5b114e5e996edc6deb9123b8.tar.xz
libssh-90d3768f0fb7f89c5b114e5e996edc6deb9123b8.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 Conflicts: tests/client/torture_knownhosts.c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r--include/libssh/libssh.h1
1 files changed, 1 insertions, 0 deletions
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,