Commit 13e86519 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client_keyexchange.c (do_init_client_dh): Don't touch connection->kex_state.

(do_init_client_srp): Likewise.
* src/server_keyexchange.c: Likewise.

Rev: src/client_keyexchange.c:1.51
Rev: src/server_keyexchange.c:1.44
parent ee7985f1
......@@ -154,8 +154,6 @@ do_init_client_dh(struct keyexchange_algorithm *c,
/* Install handler */
connection->dispatch[SSH_MSG_KEXDH_REPLY] = &dh->super;
connection->kex_state = KEX_STATE_IN_PROGRESS;
}
......@@ -331,8 +329,6 @@ do_init_client_srp(struct keyexchange_algorithm *s,
/* Install handler */
connection->dispatch[SSH_MSG_KEXSRP_REPLY] = make_srp_reply_handler(srp);
connection->kex_state = KEX_STATE_IN_PROGRESS;
}
struct keyexchange_algorithm *
......
......@@ -143,8 +143,6 @@ do_init_server_dh(struct keyexchange_algorithm *c,
/* Install handler */
connection->dispatch[SSH_MSG_KEXDH_INIT] = &dh->super;
connection->kex_state = KEX_STATE_IN_PROGRESS;
}
}
......@@ -356,8 +354,6 @@ do_init_server_srp(struct keyexchange_algorithm *s,
/* Install handler */
connection->dispatch[SSH_MSG_KEXSRP_INIT] = make_srp_init_handler(srp);
connection->kex_state = KEX_STATE_IN_PROGRESS;
}
struct keyexchange_algorithm *
......
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