summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2015-05-28 05:41:29 +0000
committerdtucker <dtucker@openbsd.org>2015-05-28 05:41:29 +0000
commit34fe2b849256e744beac78137417b826c9c8a92c (patch)
tree18c81a49c8bfa95b0d41c12a35f235f329ebb6c4 /usr.bin/ssh/sshconnect.c
parentFix typo (keywork->keyword) (diff)
downloadwireguard-openbsd-34fe2b849256e744beac78137417b826c9c8a92c.tar.xz
wireguard-openbsd-34fe2b849256e744beac78137417b826c9c8a92c.zip
Increase the allowed length of the known host file name in the log
message to be consistent with other cases. Part of bz#1993, ok deraadt.
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index aec2ff84649..9a8dba23107 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.261 2015/04/14 04:17:03 dtucker Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.262 2015/05/28 05:41:29 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -886,7 +886,7 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
host_key, options.hash_known_hosts))
logit("Failed to add the %s host key for IP "
"address '%.128s' to the list of known "
- "hosts (%.30s).", type, ip,
+ "hosts (%.500s).", type, ip,
user_hostfiles[0]);
else
logit("Warning: Permanently added the %s host "