summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kex.c b/kex.c
index f4c130f14..8800d4001 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.121 2016/09/12 23:31:27 djm Exp $ */ 1/* $OpenBSD: kex.c,v 1.122 2016/09/19 19:02:19 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -425,6 +425,8 @@ kex_input_newkeys(int type, u_int32_t seq, void *ctxt)
425 ssh_dispatch_set(ssh, SSH2_MSG_NEWKEYS, &kex_protocol_error); 425 ssh_dispatch_set(ssh, SSH2_MSG_NEWKEYS, &kex_protocol_error);
426 if ((r = sshpkt_get_end(ssh)) != 0) 426 if ((r = sshpkt_get_end(ssh)) != 0)
427 return r; 427 return r;
428 if ((r = ssh_set_newkeys(ssh, MODE_IN)) != 0)
429 return r;
428 kex->done = 1; 430 kex->done = 1;
429 sshbuf_reset(kex->peer); 431 sshbuf_reset(kex->peer);
430 /* sshbuf_reset(kex->my); */ 432 /* sshbuf_reset(kex->my); */