Commit 9463398d authored by Niels Möller's avatar Niels Möller
Browse files

* src/server_keyexchange.c (do_handle_dh_init): Make sending of

debug messages conditional on the peer-flags.

Rev: src/server_keyexchange.c:1.30
parent 76bfba81
......@@ -114,7 +114,10 @@ do_handle_dh_init(struct packet_handler *c,
connection->kex_state = KEX_STATE_NEWKEYS;
connection->dispatch[SSH_MSG_KEXDH_INIT] = connection->fail;
send_verbose(connection, "Key exchange successful!", 0);
#if DATAFELLOWS_WORKAROUNDS
if (! (connection->peer_flags & PEER_SEND_NO_DEBUG))
#endif
send_verbose(connection, "Key exchange successful!", 0);
if (connection->established)
{
......
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