mirror of
https://github.com/clearml/dropbear
synced 2025-04-08 22:54:29 +00:00
fix leftover kexguess debugging
This commit is contained in:
parent
557d86aa79
commit
286fa93a8d
@ -114,7 +114,6 @@ void cli_session(int sock_in, int sock_out) {
|
|||||||
#ifdef USE_KEX_FIRST_FOLLOWS
|
#ifdef USE_KEX_FIRST_FOLLOWS
|
||||||
static void cli_send_kex_first_guess() {
|
static void cli_send_kex_first_guess() {
|
||||||
send_msg_kexdh_init();
|
send_msg_kexdh_init();
|
||||||
dropbear_log(LOG_INFO, "kexdh_init guess sent");
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -197,7 +196,6 @@ static void cli_sessionloop() {
|
|||||||
/* We initiate the KEXDH. If DH wasn't the correct type, the KEXINIT
|
/* We initiate the KEXDH. If DH wasn't the correct type, the KEXINIT
|
||||||
* negotiation would have failed. */
|
* negotiation would have failed. */
|
||||||
if (!ses.kexstate.our_first_follows_matches) {
|
if (!ses.kexstate.our_first_follows_matches) {
|
||||||
dropbear_log(LOG_INFO, "kexdh_init after remote's kexinit");
|
|
||||||
send_msg_kexdh_init();
|
send_msg_kexdh_init();
|
||||||
}
|
}
|
||||||
cli_ses.kex_state = KEXDH_INIT_SENT;
|
cli_ses.kex_state = KEXDH_INIT_SENT;
|
||||||
|
Loading…
Reference in New Issue
Block a user