summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-02-18 18:33:53 +0000
committermarkus <markus@openbsd.org>2001-02-18 18:33:53 +0000
commita646897533a0cbc5a94f08582efb650b102c62a3 (patch)
tree845602b72506be1e79c340c53b17092c6ce2782d
parentshorten message (diff)
downloadwireguard-openbsd-a646897533a0cbc5a94f08582efb650b102c62a3.tar.xz
wireguard-openbsd-a646897533a0cbc5a94f08582efb650b102c62a3.zip
typo, SSH2_MSG_KEXINIT, from aspa@kronodoc.fi
-rw-r--r--usr.bin/ssh/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/dispatch.c b/usr.bin/ssh/dispatch.c
index f0437cdeef5..7168d1c741a 100644
--- a/usr.bin/ssh/dispatch.c
+++ b/usr.bin/ssh/dispatch.c
@@ -22,7 +22,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: dispatch.c,v 1.9 2001/02/04 15:32:23 stevesk Exp $");
+RCSID("$OpenBSD: dispatch.c,v 1.10 2001/02/18 18:33:53 markus Exp $");
#include "ssh1.h"
#include "ssh2.h"
@@ -40,7 +40,7 @@ void
dispatch_protocol_error(int type, int plen, void *ctxt)
{
error("Hm, dispatch protocol error: type %d plen %d", type, plen);
- if (compat20 && type == SSH2_MSG_KEXDH_INIT)
+ if (compat20 && type == SSH2_MSG_KEXINIT)
fatal("dispatch_protocol_error: rekeying is not supported");
}
void