summaryrefslogtreecommitdiffhomepage
path: root/svr-kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-kex.c b/svr-kex.c
index ebd3858..80f7c0a 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -57,7 +57,7 @@ void recv_msg_kexdh_init() {
mp_clear(&dh_e);
send_msg_newkeys();
- ses.expecting = SSH_MSG_NEWKEYS;
+ ses.requirenext = SSH_MSG_NEWKEYS;
TRACE(("leave recv_msg_kexdh_init"));
}