These patches are just cherry-picks already existing in master that fix key exchange failures if users specify unknown algos (for instance via a client configuration file).
Disabling algos unknown to libssh might be prohibited by policy. The algos specified might well be valid for other SSH client implementations like OpenSSH, but just not supported by libssh. With these changes, unknown algos will just be ignored correctly. *Please apply to v0-7.* Andreas Schneider (1): priv: Add macro for MAX Nikos Mavrogiannopoulos (1): ssh_options_set_algo: ensure we only set known algorithms internally include/libssh/kex.h | 1 + include/libssh/priv.h | 4 +++ src/kex.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/options.c | 11 ++++---- 4 files changed, 85 insertions(+), 6 deletions(-) -- 2.15.1
