Commit afa72761 authored by Niels Möller's avatar Niels Möller

Configure lshd key exchange algorithms via algorithm_options.

parent 9b98f3ea
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* src/lsh-transport.c (main_argp_parser): Configure key exchange * src/lsh-transport.c (main_argp_parser): Configure key exchange
algorithms via algorithm_options. algorithms via algorithm_options.
* src/lshd.c (lshd_config_handler): Likewise.
2012-07-12 Niels Möller <nisse@lysator.liu.se> 2012-07-12 Niels Möller <nisse@lysator.liu.se>
......
...@@ -972,7 +972,7 @@ lshd_config_handler(int key, uint32_t value, const uint8_t *data, ...@@ -972,7 +972,7 @@ lshd_config_handler(int key, uint32_t value, const uint8_t *data,
} }
ctx->super.kexinit 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, hostkey_algorithms,
self->algorithms->crypto_algorithms, self->algorithms->crypto_algorithms,
self->algorithms->mac_algorithms, self->algorithms->mac_algorithms,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment