Commit 2d69723c authored by Niels Möller's avatar Niels Möller
Browse files

make_kexinit_handler(): Initialize the FINISHED field.

Rev: src/keyexchange.c:1.21
Rev: src/keyexchange.h:1.19
parent dfebaa48
......@@ -286,7 +286,8 @@ static int do_handle_kexinit(struct packet_handler *c,
struct packet_handler *make_kexinit_handler(int type,
struct make_kexinit *init,
struct alist *algorithms)
struct alist *algorithms,
struct ssh_service *finished)
{
struct kexinit_handler *self = xalloc(sizeof(struct kexinit_handler));
......@@ -295,7 +296,8 @@ struct packet_handler *make_kexinit_handler(int type,
self->type = type;
self->init = init;
self->algorithms = algorithms;
self->finished = finished;
return &self->super;
}
......
......@@ -168,7 +168,8 @@ int initiate_keyexchange(struct ssh_connection *connection,
struct packet_handler *make_kexinit_handler(int type,
struct make_kexinit *init,
struct alist *algorithms);
struct alist *algorithms,
struct ssh_service *finished);
struct packet_handler *
make_newkeys_handler(struct crypto_instance *crypto,
......
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