You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
573 B

  1. diff --git a/kex.c b/kex.c
  2. index 50c7a0f..d09c27b 100644
  3. --- a/kex.c
  4. +++ b/kex.c
  5. @@ -1,4 +1,4 @@
  6. -/* $OpenBSD: kex.c,v 1.118 2016/05/02 10:26:04 djm Exp $ */
  7. +/* $OpenBSD: kex.c,v 1.127 2016/10/10 19:28:48 markus Exp $ */
  8. /*
  9. * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
  10. *
  11. @@ -472,6 +472,7 @@ kex_input_kexinit(int type, u_int32_t seq, void *ctxt)
  12. if (kex == NULL)
  13. return SSH_ERR_INVALID_ARGUMENT;
  14. + ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, NULL);
  15. ptr = sshpkt_ptr(ssh, &dlen);
  16. if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0)
  17. return r;