Commit 08068f28 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/channel_commands.c:1.20
Rev: src/keyexchange.c:1.67
parent 4886cae4
......@@ -229,7 +229,7 @@ do_install_fix_channel_open_handler(struct command *s,
self->name,
self->handler);
COMMAND_RETURN(c, x);
COMMAND_RETURN(c, connection);
}
struct command *
......
......@@ -157,6 +157,10 @@ initiate_keyexchange(struct ssh_connection *connection)
s = format_kex(kex);
/* Save value for later signing */
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", mode);
#endif
connection->literal_kexinits[mode] = s;
C_WRITE(connection, lsh_string_dup(s));
......@@ -227,6 +231,9 @@ do_handle_kexinit(struct packet_handler *c,
}
/* Save value for later signing */
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", !mode);
#endif
connection->literal_kexinits[!mode] = packet;
connection->kexinits[!mode] = msg;
......@@ -238,6 +245,9 @@ do_handle_kexinit(struct packet_handler *c,
struct kexinit *sent = MAKE_KEXINIT(closure->init);
connection->kexinits[mode] = sent;
packet = format_kex(sent);
#if 0
debug("do_handle_kexinit: Storing literal_kexinits[%i]\n", mode);
#endif
connection->literal_kexinits[mode] = lsh_string_dup(packet);
C_WRITE(connection, packet);
......
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