summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-12-04 02:27:08 +0000
committerDamien Miller <djm@mindrot.org>2020-12-04 13:43:01 +1100
commitac0364b85e66eb53da2f9618f699ba6bd195ceea (patch)
treef10f1ea08b1077042ad6073118bd1099e8162a67 /kex.c
parentee22db7c5885a1d90219202c0695bc621aa0409b (diff)
downloadopenssh-git-ac0364b85e66eb53da2f9618f699ba6bd195ceea.tar.gz
upstream: typos: s/hex/kex/ in error messages
OpenBSD-Commit-ID: 43a026c9571dd779ec148de1829cf5a6b6651905
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kex.c b/kex.c
index 2cf3f73b..b9f45dd7 100644
--- a/kex.c
+++ b/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.
*
@@ -535,7 +535,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)
@@ -577,7 +577,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);