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

(handshake_command): Store the make_kexinit

object in the connection's kexinit attribute.

Rev: src/handshake.c:1.11
parent e9076d36
......@@ -311,16 +311,6 @@ make_handshake_info(enum connection_flag flags,
* private keys (for the server) or a hostkey database (for the
* client). */
/* GABA:
(name handshake_command_2)
(super command)
(info object handshake_info)
(init object make_kexinit)
(extra object lsh_object)))
/* Buffer size when reading from the socket */
#define BUF_SIZE (1<<14)
......@@ -408,10 +398,9 @@ DEFINE_COMMAND4(handshake_command)
"Handshake timed out");
connection->versions[mode] = version;
connection->kexinits[mode] = MAKE_KEXINIT(init);
connection->kexinit = init;
= make_kexinit_handler(init,
extra, info->algorithms);
= make_kexinit_handler(extra, info->algorithms);
/* In this mode the server SHOULD NOT send carriage return character (ascii
Supports Markdown
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