aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2016-10-21 00:28:40 +0100
committerStuart Shelton <stuart@shelton.me>2016-10-21 00:28:40 +0100
commitdf05cb1a8fb71c64b1a010e6b87c9c2e5ab80f30 (patch)
tree9ceda765b9326f80d07206498284a9e18df2d095 /net-misc/openssh/files
parentUpdate sys-devel/llvm-3.7.1-r3 (diff)
downloadsrcshelton-df05cb1a8fb71c64b1a010e6b87c9c2e5ab80f30.tar.gz
srcshelton-df05cb1a8fb71c64b1a010e6b87c9c2e5ab80f30.tar.bz2
srcshelton-df05cb1a8fb71c64b1a010e6b87c9c2e5ab80f30.zip
Add net-misc/openssh-7.3_p1-r7
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r--net-misc/openssh/files/openssh-7.3_p1-Unregister-the-KEXINIT-handler-after-receive.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.3_p1-Unregister-the-KEXINIT-handler-after-receive.patch b/net-misc/openssh/files/openssh-7.3_p1-Unregister-the-KEXINIT-handler-after-receive.patch
new file mode 100644
index 00000000..f7b41dc4
--- /dev/null
+++ b/net-misc/openssh/files/openssh-7.3_p1-Unregister-the-KEXINIT-handler-after-receive.patch
@@ -0,0 +1,18 @@
+diff --git a/kex.c b/kex.c
+index 50c7a0f..d09c27b 100644
+--- a/kex.c
++++ b/kex.c
+@@ -1,4 +1,4 @@
+-/* $OpenBSD: kex.c,v 1.118 2016/05/02 10:26:04 djm Exp $ */
++/* $OpenBSD: kex.c,v 1.127 2016/10/10 19:28:48 markus Exp $ */
+ /*
+ * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
+ *
+@@ -472,6 +472,7 @@ kex_input_kexinit(int type, u_int32_t seq, void *ctxt)
+ if (kex == NULL)
+ return SSH_ERR_INVALID_ARGUMENT;
+
++ ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, NULL);
+ ptr = sshpkt_ptr(ssh, &dlen);
+ if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0)
+ return r;