From bdb3bb9ccd81dc3e4c7a6b90868fd4e6e4fc428c Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 18 Oct 2018 16:18:22 +0200 Subject: 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 Reviewed-by: Andreas Schneider --- include/libssh/kex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh') 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_ */ -- cgit v1.2.3