mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-28 01:41:48 +03:00
kex: Make existing convenience features available
Signed-off-by: David Wedderwille <davidwe@posteo.de> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
0b91ba779c
commit
84d02e7440
@ -61,7 +61,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Enable all supported algorithms */
|
||||
hostkeys = ssh_kex_get_supported_method(SSH_HOSTKEYS);
|
||||
hostkeys = ssh_get_supported_methods(SSH_HOSTKEYS);
|
||||
rc = ssh_options_set(session, SSH_OPTIONS_HOSTKEYS, hostkeys);
|
||||
if (rc < 0) {
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user