summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2015-05-28 05:41:29 +0000
committerDamien Miller <djm@mindrot.org>2015-05-28 18:54:57 +1000
commit496aeb25bc2d6c434171292e4714771b594bd00e (patch)
tree979df809f295d53d186ce7f107c313f6d5b26396
parentdd2cfeb586c646ff8d70eb93567b2e559ace5b14 (diff)
upstream commit
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. Upstream-ID: a9e97567be49f25daf286721450968251ff78397
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index f5b697347..f41960c5d 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.261 2015/04/14 04:17:03 dtucker Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.262 2015/05/28 05:41:29 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -912,7 +912,7 @@ check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port,
912 host_key, options.hash_known_hosts)) 912 host_key, options.hash_known_hosts))
913 logit("Failed to add the %s host key for IP " 913 logit("Failed to add the %s host key for IP "
914 "address '%.128s' to the list of known " 914 "address '%.128s' to the list of known "
915 "hosts (%.30s).", type, ip, 915 "hosts (%.500s).", type, ip,
916 user_hostfiles[0]); 916 user_hostfiles[0]);
917 else 917 else
918 logit("Warning: Permanently added the %s host " 918 logit("Warning: Permanently added the %s host "