summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2020-12-04 02:27:09 +0000
committerDamien Miller <djm@cvs.openbsd.org>2020-12-04 02:27:09 +0000
commit0dc499dfef27833bae9a64ec35dd0e0fb6e0b1d8 (patch)
tree1ec45e4725f4cf8759733b6ef123bbd75e26f709 /usr.bin/ssh/kex.c
parentb2476f5e2d7158000ab5003ce05f7c1cb95f98c4 (diff)
typos: s/hex/kex/ in error messages
Diffstat (limited to 'usr.bin/ssh/kex.c')
-rw-r--r--usr.bin/ssh/kex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c
index e387336c757..1c8443903ec 100644
--- a/usr.bin/ssh/kex.c
+++ b/usr.bin/ssh/kex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.c,v 1.160 2020/10/18 11:32:01 djm Exp $ */
+/* $OpenBSD: kex.c,v 1.161 2020/12/04 02:27:08 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
*
@@ -522,7 +522,7 @@ kex_send_kexinit(struct ssh *ssh)
int r;
if (kex == NULL) {
- error_f("no hex");
+ error_f("no kex");
return SSH_ERR_INTERNAL_ERROR;
}
if (kex->flags & KEX_INIT_SENT)
@@ -564,7 +564,7 @@ kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh)
debug("SSH2_MSG_KEXINIT received");
if (kex == NULL) {
- error_f("no hex");
+ error_f("no kex");
return SSH_ERR_INTERNAL_ERROR;
}
ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, NULL);