View | Details | Raw Unified | Return to bug 3160
Collapse All | Expand All

(-)kexdh.c (+1 lines)
Lines 35-40 Link Here
35
#include "digest.h"
35
#include "digest.h"
36
#include "ssherr.h"
36
#include "ssherr.h"
37
#include "dh.h"
37
#include "dh.h"
38
#include "log.h"
38
39
39
int
40
int
40
kex_dh_keygen(struct kex *kex)
41
kex_dh_keygen(struct kex *kex)
(-)sshd.c (-4 / +5 lines)
Lines 2191-2200 do_ssh2_kex(struct ssh *ssh) Link Here
2191
2191
2192
#ifdef DEBUG_KEXDH
2192
#ifdef DEBUG_KEXDH
2193
	/* send 1st encrypted/maced/compressed message */
2193
	/* send 1st encrypted/maced/compressed message */
2194
	packet_start(SSH2_MSG_IGNORE);
2194
	if ((r = sshpkt_start(ssh, SSH2_MSG_IGNORE)) != 0 ||
2195
	packet_put_cstring("markus");
2195
	    (r = sshpkt_put_cstring(ssh, "markus")) != 0 ||
2196
	packet_send();
2196
	    (r = sshpkt_send(ssh)) != 0 ||
2197
	packet_write_wait();
2197
	    (r = ssh_packet_write_wait(ssh)) != 0)
2198
		fatal("%s: send test: %s", __func__, ssh_err(r));
2198
#endif
2199
#endif
2199
	debug("KEX done");
2200
	debug("KEX done");
2200
}
2201
}

Return to bug 3160