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

* src/transport.c (transport_send_kexinit): Use make_kexinit

function.
* src/transport.h (class transport_context): Type of kexinit
attribute changed to struct kexinit_info *.

Rev: src/transport.c:1.15
Rev: src/transport.h:1.12
parent 7073fee5
......@@ -743,7 +743,7 @@ transport_send_kexinit(struct transport_connection *connection)
/* This is a reexchange; no more data can be sent */
connection->event_handler(connection, TRANSPORT_EVENT_STOP_APPLICATION);
kex = connection->ctx->kexinit->make(connection->ctx->kexinit);
kex = make_kexinit(connection->ctx->kexinit);
connection->kex.kexinit[is_server] = kex;
assert(kex->first_kex_packet_follows == !!kex->first_kex_packet);
......
......@@ -177,7 +177,7 @@ transport_write_flush(struct transport_write_state *self,
(vars
(is_server . int)
(algorithms object alist)
(kexinit object make_kexinit)))
(kexinit object kexinit_info)))
*/
/* Uses for the key exchange method */
......
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