aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_algorithms.c
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-10-18 23:30:33 -0700
committerAndreas Schneider <asn@cryptomilk.org>2017-10-29 15:49:12 +0100
commit538f1bc00ee1d63e6e8f8c223291580d6a916617 (patch)
tree505b0f0c475f33bfefd960699a2b6e5c820774e1 /tests/client/torture_algorithms.c
parentf0ddde48262a2f6b71dda3b9718b1f216448060d (diff)
downloadlibssh-538f1bc00ee1d63e6e8f8c223291580d6a916617.tar.gz
libssh-538f1bc00ee1d63e6e8f8c223291580d6a916617.tar.xz
libssh-538f1bc00ee1d63e6e8f8c223291580d6a916617.zip
server: expose 'ssh_server_init_kex' API
Expose an API 'ssh_server_init_kex' which allows one to change the set of key exchange, hostkey, ciphers, MACs, and compression algorithms currently configured for the ssh_session at hand, after having started the 'ssh_handle_key_exchange' process. One can use this API from the already-existing 'connect_status_function' callback to dynamically modify the set of algorithms used after having received the client banner, but before sending out the initial KEXINIT message. For example, one might want to prevent advertising the curve25519 key exchange algorithm for older OpenSSH clients due to interop bugs. Fixes T25 Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/client/torture_algorithms.c')
0 files changed, 0 insertions, 0 deletions