aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-10-18 16:18:22 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-19 17:43:20 +0200
commitbdb3bb9ccd81dc3e4c7a6b90868fd4e6e4fc428c (patch)
tree41c74ef4591b635718520cc4fde630641231a71b /include/libssh
parent32e502a79d335de9309aecfa6bfba4580044f60a (diff)
downloadlibssh-bdb3bb9ccd81dc3e4c7a6b90868fd4e6e4fc428c.tar.gz
libssh-bdb3bb9ccd81dc3e4c7a6b90868fd4e6e4fc428c.tar.xz
libssh-bdb3bb9ccd81dc3e4c7a6b90868fd4e6e4fc428c.zip
tests: Verify the hostkey ordering for negotiation is correct
Previously, not all of the host keys algorithms were used for algorithm negotiation. This verifies the algorithms list is sane and ordered with the key types from known hosts in the first place. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/kex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/kex.h b/include/libssh/kex.h
index 58a9c555..a626d105 100644
--- a/include/libssh/kex.h
+++ b/include/libssh/kex.h
@@ -45,5 +45,6 @@ char *ssh_find_matching(const char *in_d, const char *what_d);
const char *ssh_kex_get_supported_method(uint32_t algo);
const char *ssh_kex_get_default_methods(uint32_t algo);
const char *ssh_kex_get_description(uint32_t algo);
+char *ssh_client_select_hostkeys(ssh_session session);
#endif /* KEX_H_ */