From afa72761591fb622c9e8e3a2ea60873ddf308f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Fri, 13 Jul 2012 08:45:42 +0200 Subject: [PATCH] Configure lshd key exchange algorithms via algorithm_options. --- ChangeLog | 1 + src/lshd.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc8c2a24d..04aa88e0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * src/lsh-transport.c (main_argp_parser): Configure key exchange algorithms via algorithm_options. + * src/lshd.c (lshd_config_handler): Likewise. 2012-07-12 Niels Möller <nisse@lysator.liu.se> diff --git a/src/lshd.c b/src/lshd.c index d123772cd..3efdd61df 100644 --- a/src/lshd.c +++ b/src/lshd.c @@ -972,7 +972,7 @@ lshd_config_handler(int key, uint32_t value, const uint8_t *data, } ctx->super.kexinit - = make_kexinit_info(make_int_list(1, ATOM_DIFFIE_HELLMAN_GROUP14_SHA1, -1), + = make_kexinit_info(self->algorithms->kex_algorithms, hostkey_algorithms, self->algorithms->crypto_algorithms, self->algorithms->mac_algorithms, -- GitLab