diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2015-05-28 05:41:29 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-28 18:54:57 +1000 |
commit | 496aeb25bc2d6c434171292e4714771b594bd00e (patch) | |
tree | 979df809f295d53d186ce7f107c313f6d5b26396 | |
parent | dd2cfeb586c646ff8d70eb93567b2e559ace5b14 (diff) | |
download | openssh-git-496aeb25bc2d6c434171292e4714771b594bd00e.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c index f5b69734..f41960c5 100644 --- a/sshconnect.c +++ b/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 @@ -912,7 +912,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 " |