summaryrefslogtreecommitdiffhomepage
path: root/svr-kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-kex.c')
-rw-r--r--svr-kex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/svr-kex.c b/svr-kex.c
index e42a67c..337c377 100644
--- a/svr-kex.c
+++ b/svr-kex.c
@@ -80,8 +80,7 @@ void recv_msg_kexdh_init() {
}
send_msg_newkeys();
- ses.requirenext[0] = SSH_MSG_NEWKEYS;
- ses.requirenext[1] = 0;
+ ses.requirenext = SSH_MSG_NEWKEYS;
TRACE(("leave recv_msg_kexdh_init"))
}